1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

messaging3: Fix an error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2014-08-09 16:51:05 +00:00 committed by Jeremy Allison
parent b19283c0f4
commit f6684f8798

View File

@ -388,6 +388,7 @@ int messaging_dgm_cleanup(struct messaging_context *msg_ctx, pid_t pid)
ret = errno;
DEBUG(10, ("%s: open(%s) failed: %s\n", __func__,
lockfile_name, strerror(ret)));
TALLOC_FREE(lockfile_name);
return ret;
}