]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_hep: Release allocation reference to configuration.
authorCorey Farrell <git@cfware.com>
Wed, 1 Oct 2014 20:30:23 +0000 (20:30 +0000)
committerCorey Farrell <git@cfware.com>
Wed, 1 Oct 2014 20:30:23 +0000 (20:30 +0000)
ASTERISK-24362 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4026/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@424312 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_hep.c

index 474e15d6afb9533930db138075aeab1e465dd227..db5b0e35b86ab106a4c297f973c8e3bd8c5e98ab 100644 (file)
@@ -561,6 +561,7 @@ static void hepv3_config_post_apply(void)
        }
 
        ao2_global_obj_replace_unref(global_data, data);
+       ao2_ref(data, -1);
 }
 
 /*!