summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-24 09:41:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:57 -0500
commit1d21b9659b467c99fb7b5c46502606ae74439099 (patch)
treea2dfa874a94f210ae5dbddbdefdeb80614e59400 /source3/registry
parent505f6b42c9df01bdee836cf71da5dec90ba13138 (diff)
downloadsamba-1d21b9659b467c99fb7b5c46502606ae74439099.tar.gz
samba-1d21b9659b467c99fb7b5c46502606ae74439099.tar.bz2
samba-1d21b9659b467c99fb7b5c46502606ae74439099.zip
r16490: Fix a memleak and two typos
(This used to be commit 8cf364e602eea408fd9cd6acd12f2b72971361ae)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_shares.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/reg_shares.c b/source3/registry/reg_shares.c
index 85ac812101..5a3e9a131b 100644
--- a/source3/registry/reg_shares.c
+++ b/source3/registry/reg_shares.c
@@ -124,6 +124,7 @@ static int shares_value_info( const char *key, REGVAL_CTR *val )
num_values = handle_printing_subpath( path, NULL, val );
#endif
+ SAFE_FREE(path);
return num_values;
}