1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ldb: Free memory in torture test to satisfy sanitizer

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org>
This commit is contained in:
Swen Schillig 2019-07-29 14:55:10 +02:00 committed by Andrew Bartlett
parent 84e519f365
commit f9a32767b6

View File

@ -1452,6 +1452,7 @@ static bool torture_ldb_pack_data_v2(struct torture_context *torture)
binary.length,
"packed data not as expected");
talloc_free(expect_bin);
TALLOC_FREE(msg.dn);
return true;
}
@ -1505,6 +1506,8 @@ static bool torture_ldb_pack_data_v2_special(struct torture_context *torture)
binary.length,
"packed data not as expected");
TALLOC_FREE(msg.dn);
return true;
}