* [PATCH] rdma/cma: fixed resource leak in case of an error in udaddy
@ 2011-10-25 8:25 Dotan Barak
[not found] ` <201110251025.04409.dotanb-g2bIKuvJtcQanlnWow0HJg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Dotan Barak @ 2011-10-25 8:25 UTC (permalink / raw)
To: Sean Hefty; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Fixed a resource leak in case of an error level in the udaddy example.
Signed-off-by: Dotan Barak <dotanb-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
---
examples/udaddy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/examples/udaddy.c b/examples/udaddy.c
index 637306a..1534df5 100644
--- a/examples/udaddy.c
+++ b/examples/udaddy.c
@@ -547,7 +547,7 @@ static int run_server(void)
ret = rdma_bind_addr(listen_id, test.src_addr);
if (ret) {
perror("udaddy: bind address failed");
- return ret;
+ goto out;
}
ret = rdma_listen(listen_id, 0);
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] rdma/cma: fixed resource leak in case of an error in udaddy
[not found] ` <201110251025.04409.dotanb-g2bIKuvJtcQanlnWow0HJg@public.gmane.org>
@ 2011-10-26 14:22 ` Hefty, Sean
0 siblings, 0 replies; 2+ messages in thread
From: Hefty, Sean @ 2011-10-26 14:22 UTC (permalink / raw)
To: Dotan Barak; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
thanks - applied
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-26 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-25 8:25 [PATCH] rdma/cma: fixed resource leak in case of an error in udaddy Dotan Barak
[not found] ` <201110251025.04409.dotanb-g2bIKuvJtcQanlnWow0HJg@public.gmane.org>
2011-10-26 14:22 ` Hefty, Sean
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.