summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-29 18:14:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:55 -0500
commit3a931bc8fc32c7578095e4ebd80e5cfcf9f978ef (patch)
tree1be3934c40824c5b37e46bde635c4e2cd690978d
parenta9503016859dc4bc3f68eb302c1adf37bf311187 (diff)
downloadsamba-3a931bc8fc32c7578095e4ebd80e5cfcf9f978ef.tar.gz
samba-3a931bc8fc32c7578095e4ebd80e5cfcf9f978ef.tar.bz2
samba-3a931bc8fc32c7578095e4ebd80e5cfcf9f978ef.zip
r23221: Fix a bad merge, avoid a memory leak and tdb lock problem
(This used to be commit 2e2415655d352708b9799ae5ff4d9276c49cfb3b)
-rw-r--r--source3/smbd/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c
index 4c4ddbc0f0..211f0e6acb 100644
--- a/source3/smbd/connection.c
+++ b/source3/smbd/connection.c
@@ -43,6 +43,7 @@ BOOL yield_connection(connection_struct *conn, const char *name)
nt_errstr(status)));
}
+ TALLOC_FREE(rec);
return NT_STATUS_IS_OK(status);
}