summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-23 20:53:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:04 -0500
commit848d9342816dc522c3b05777095659ab653b8cd3 (patch)
tree52250a945e145a5fcf888d831afaa97617862cd7 /source3
parentb9b964a360b3319a2170bf3ed8ca94190195a691 (diff)
downloadsamba-848d9342816dc522c3b05777095659ab653b8cd3.tar.gz
samba-848d9342816dc522c3b05777095659ab653b8cd3.tar.bz2
samba-848d9342816dc522c3b05777095659ab653b8cd3.zip
r18852: Fix compiler warning (thanks Volker).
Guenther (This used to be commit 01a8562fe164453af4c5946710f9e58f917df2ce)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_ads_gpo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c
index f1a3d935b7..de8a5477f8 100644
--- a/source3/utils/net_ads_gpo.c
+++ b/source3/utils/net_ads_gpo.c
@@ -173,15 +173,15 @@ static int net_ads_gpo_list(int argc, const char **argv)
if (!ADS_ERR_OK(status)) {
d_printf("parse failed: %s\n", ads_errstr(status));
+ ads_memfree(ads, dn);
goto out;
}
dump_gpo(mem_ctx, &gpo);
-
+ ads_memfree(ads, dn);
}
out:
- ads_memfree(ads, dn);
ads_msgfree(ads, res);
talloc_destroy(mem_ctx);