git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5049f61
)
s4:param use talloc_unlink() to free iconv context holding references
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 2 Jul 2009 04:34:07 +0000
(14:34 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 2 Jul 2009 04:34:07 +0000
(14:34 +1000)
source4/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source4/param/loadparm.c
b/source4/param/loadparm.c
index eeffe9874fa631d83a7a497aa3a3703139b7a574..11a936144287d8eeccbaccc5a8a235eddb59c590 100644
(file)
--- a/
source4/param/loadparm.c
+++ b/
source4/param/loadparm.c
@@
-2650,7
+2650,7
@@
struct smb_iconv_convenience *lp_iconv_convenience(struct loadparm_context *lp_c
_PUBLIC_ void reload_charcnv(struct loadparm_context *lp_ctx)
{
- talloc_
free(
lp_ctx->iconv_convenience);
+ talloc_
unlink(lp_ctx,
lp_ctx->iconv_convenience);
global_iconv_convenience = lp_ctx->iconv_convenience = smb_iconv_convenience_init_lp(lp_ctx, lp_ctx);
}