r23221: Fix a bad merge, avoid a memory leak and tdb lock problem
authorVolker Lendecke <vlendec@samba.org>
Tue, 29 May 2007 18:14:54 +0000 (18:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:55 +0000 (12:22 -0500)
(This used to be commit 2e2415655d352708b9799ae5ff4d9276c49cfb3b)

source3/smbd/connection.c

index 4c4ddbc0f06771fe16449c18b714a5ce74b1995f..211f0e6acba8208764d342aca4277232779960bc 100644 (file)
@@ -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);
 }