[asterisk-commits] coreyfarrell: branch 12 r424312 - /branches/12/res/res_hep.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 1 15:30:31 CDT 2014


Author: coreyfarrell
Date: Wed Oct  1 15:30:23 2014
New Revision: 424312

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=424312
Log:
res_hep: Release allocation reference to configuration.

ASTERISK-24362 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4026/

Modified:
    branches/12/res/res_hep.c

Modified: branches/12/res/res_hep.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_hep.c?view=diff&rev=424312&r1=424311&r2=424312
==============================================================================
--- branches/12/res/res_hep.c (original)
+++ branches/12/res/res_hep.c Wed Oct  1 15:30:23 2014
@@ -561,6 +561,7 @@
 	}
 
 	ao2_global_obj_replace_unref(global_data, data);
+	ao2_ref(data, -1);
 }
 
 /*!




More information about the asterisk-commits mailing list