Fix broken ref count
Submitted by: gcooper
This commit is contained in:
parent
f529372e8a
commit
040b0e4eda
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235712
@ -133,6 +133,7 @@ iconv_register_converter(struct iconv_converter_class *dcp)
|
||||
static int
|
||||
iconv_unregister_converter(struct iconv_converter_class *dcp)
|
||||
{
|
||||
dcp->refs--;
|
||||
if (dcp->refs > 1) {
|
||||
ICDEBUG("converter have %d referenses left\n", dcp->refs);
|
||||
return EBUSY;
|
||||
|
Loading…
Reference in New Issue
Block a user