From: Corey Farrell Date: Wed, 1 Oct 2014 20:37:31 +0000 (+0000) Subject: res_hep: Release allocation reference to configuration. X-Git-Tag: 14.0.0-beta1~1608 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a752ca00bd62fdbc3d160b35f2817443ea3bf2bb;p=thirdparty%2Fasterisk.git res_hep: Release allocation reference to configuration. ASTERISK-24362 #close Reported by: Corey Farrell Review: https://reviewboard.asterisk.org/r/4026/ ........ Merged revisions 424312 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 424313 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424314 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_hep.c b/res/res_hep.c index da23d2257a..007d3b0967 100644 --- a/res/res_hep.c +++ b/res/res_hep.c @@ -560,6 +560,7 @@ static void hepv3_config_post_apply(void) } ao2_global_obj_replace_unref(global_data, data); + ao2_ref(data, -1); } /*!