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:
parent
b19283c0f4
commit
f6684f8798
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user