migration/rdma: Plug memory leaks in qemu_rdma_registration_stop()
[qemu/armbru.git] / scripts / coccinelle / error_propagate_null.cocci
blobc23638007ab3aa168063c35ead29f09e3f2f7bd6
1 // error_propagate() already ignores local_err==NULL, so there's
2 // no need to check it before calling.
4 @@
5 identifier L;
6 expression E;
7 @@
8 -if (L) {
9      error_propagate(E, L);