summaryrefslogtreecommitdiff
path: root/source3/registry/reg_shares.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_shares.c')
-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;
}