Doesn't really matter since this just exits the process right after. Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> --- srp_daemon/srp_daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srp_daemon/srp_daemon.c b/srp_daemon/srp_daemon.c index ec394b686d55ff..836e2e5d1487b5 100644 --- a/srp_daemon/srp_daemon.c +++ b/srp_daemon/srp_daemon.c @@ -2053,7 +2053,7 @@ static int ibsrpdm(int argc, char *argv[]) ret = set_conf_dev_and_port(umad_dev, config); if (ret) { pr_err("Failed to build config\n"); - return 1; + goto out; } umad_init(); @@ -2076,7 +2076,7 @@ static int ibsrpdm(int argc, char *argv[]) free_res(res); umad_done: umad_done(); - +out: free_config(config); return ret; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html