res_hep: Release allocation reference to configuration.
authorCorey Farrell <git@cfware.com>
Wed, 1 Oct 2014 20:37:31 +0000 (20:37 +0000)
committerCorey Farrell <git@cfware.com>
Wed, 1 Oct 2014 20:37:31 +0000 (20:37 +0000)
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

res/res_hep.c

index da23d22..007d3b0 100644 (file)
@@ -560,6 +560,7 @@ static void hepv3_config_post_apply(void)
        }
 
        ao2_global_obj_replace_unref(global_data, data);
+       ao2_ref(data, -1);
 }
 
 /*!