summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-06-02 22:48:56 +0200
committerJeremy Allison <jra@samba.org>2014-06-03 19:00:13 +0200
commit5afd30edcbc834dd65ab3681db8565880d8f0b1b (patch)
treefb416964b3fce774508621b7a97017b50f4e635c /source3
parent6a0ebc45968e65fa65cb23582d109531733e8a0e (diff)
downloadsamba-5afd30edcbc834dd65ab3681db8565880d8f0b1b.tar.gz
samba-5afd30edcbc834dd65ab3681db8565880d8f0b1b.tar.xz
samba-5afd30edcbc834dd65ab3681db8565880d8f0b1b.zip
messaging3: Fix a talloc_tos memleak
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/messages_dgm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/messages_dgm.c b/source3/lib/messages_dgm.c
index 9b58d9e0336..ba13fc98144 100644
--- a/source3/lib/messages_dgm.c
+++ b/source3/lib/messages_dgm.c
@@ -130,6 +130,7 @@ static int messaging_dgm_lockfile_create(const char *cache_dir, pid_t pid,
goto fail_unlink;
}
+ TALLOC_FREE(lockfile_name);
*plockfile_fd = lockfile_fd;
return 0;