mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:param use talloc_unlink() to free iconv context holding references
This commit is contained in:
parent
5049f61f39
commit
d7af80fc2e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user