summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-07-15 17:27:39 +0000
committerVolker Lendecke <vlendec@samba.org>2003-07-15 17:27:39 +0000
commitc9d6c786a1a1d1b33141cbd47984ec0a374fef46 (patch)
tree89d8c77bfd8fc3ac60263f551126a1e1d19bcd80
parente9e3421db90c41d9839cf5d3cba494e0c32d7a42 (diff)
downloadsamba-c9d6c786a1a1d1b33141cbd47984ec0a374fef46.tar.gz
samba-c9d6c786a1a1d1b33141cbd47984ec0a374fef46.tar.bz2
samba-c9d6c786a1a1d1b33141cbd47984ec0a374fef46.zip
Fix memleak
(This used to be commit 517bb4d0df4cd120ef0ffc3cd879897971f0982e)
-rw-r--r--source3/utils/net_groupmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index 590a005e17..8831839e4e 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -168,6 +168,8 @@ static int net_groupmap_list(int argc, const char **argv)
for (i=0; i<entries; i++) {
print_map_entry( map[i], long_list );
}
+
+ SAFE_FREE(map);
}
return 0;