r23221: Fix a bad merge, avoid a memory leak and tdb lock problem
[sfrench/samba-autobuild/.git] / source / 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);
 }