Author: kevlo
Date: Mon May 21 02:41:15 2012
New Revision: 235712
URL: http://svn.freebsd.org/changeset/base/235712

Log:
  Fix broken ref count
  
  Submitted by: gcooper

Modified:
  head/sys/libkern/iconv.c

Modified: head/sys/libkern/iconv.c
==============================================================================
--- head/sys/libkern/iconv.c    Mon May 21 02:30:22 2012        (r235711)
+++ head/sys/libkern/iconv.c    Mon May 21 02:41:15 2012        (r235712)
@@ -133,6 +133,7 @@ iconv_register_converter(struct iconv_co
 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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to