1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r20703: fix minor memory leak

metze
(This used to be commit 4012e54ef22fc9a18d4533f6b48530ddc9c67992)
This commit is contained in:
Stefan Metzmacher 2007-01-12 13:00:55 +00:00 committed by Gerald (Jerry) Carter
parent ed62bda650
commit f8ce15a417

View File

@ -1165,6 +1165,7 @@ const struct ldb_dn *samdb_ntds_settings_dn(struct ldb_context *ldb)
if (ret) {
goto failed;
}
talloc_steal(tmp_ctx, root_res);
if (root_res->count != 1) {
goto failed;