diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-10-20 17:42:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:01:58 -0500 |
commit | 900e2cdf6d371ff67adaf83936cf9e2e455bf234 (patch) | |
tree | f300b1cb0506063db5e98ed31adb203d83914d88 | |
parent | 82a56fae9954dcc12f7c531a44cc9344281acb85 (diff) | |
download | samba-900e2cdf6d371ff67adaf83936cf9e2e455bf234.tar.gz samba-900e2cdf6d371ff67adaf83936cf9e2e455bf234.tar.bz2 samba-900e2cdf6d371ff67adaf83936cf9e2e455bf234.zip |
r3089: fix memleak
metze
(This used to be commit 52eab8dc17a1cd1a8c0382ab8d6e7f6c7ddeea19)
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_search.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c index 18d51d1aa4..a11f137cc9 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_search.c +++ b/source4/lib/ldb/ldb_tdb/ldb_search.c @@ -266,6 +266,7 @@ int ltdb_has_wildcard(struct ldb_context *ldb, const char *attr_name, void ltdb_search_dn1_free(struct ldb_context *ldb, struct ldb_message *msg) { unsigned int i; + ldb_free(ldb, msg->dn); ldb_free(ldb, msg->private_data); for (i=0;i<msg->num_elements;i++) { ldb_free(ldb, msg->elements[i].values); |