git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aedc10
)
param: add missing talloc_free in lpcfg_file_list_changed which are present in s3
author
Garming Sam
<garming@catalyst.net.nz>
Tue, 6 May 2014 04:04:01 +0000
(16:04 +1200)
committer
Michael Adam
<obnox@samba.org>
Thu, 31 Jul 2014 06:17:11 +0000
(08:17 +0200)
Change-Id: Ib363069f5ecc4fc743aadf143efd640e00d74543
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/param/loadparm.c
patch
|
blob
|
history
diff --git
a/lib/param/loadparm.c
b/lib/param/loadparm.c
index 1e67e249a751e2f2b4e0e99b4bfff86097698deb..d975359a4b41f8b16201b99697e6a14eea8a5ede 100644
(file)
--- a/
lib/param/loadparm.c
+++ b/
lib/param/loadparm.c
@@
-1043,8
+1043,10
@@
bool lpcfg_file_list_changed(struct loadparm_context *lp_ctx)
f->modtime = mod_time;
talloc_free(f->subfname);
f->subfname = talloc_strdup(f, n2);
+ TALLOC_FREE(n2);
return true;
}
+ TALLOC_FREE(n2);
}
return false;
}