Fix broken ref count
Submitted by: gcooper
This commit is contained in:
parent
c50e4642a9
commit
d5c0b27552
@ -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