1
0
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:
Andrew Bartlett 2009-07-02 14:34:07 +10:00
parent 5049f61f39
commit d7af80fc2e

View File

@ -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);
}