From: Corey Farrell Date: Wed, 1 Oct 2014 20:30:23 +0000 (+0000) Subject: res_hep: Release allocation reference to configuration. X-Git-Tag: 12.7.0-rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26e6abb90c0cfe4eb8a4103900e3da4ff4337b9a;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/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@424312 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_hep.c b/res/res_hep.c index 474e15d6af..db5b0e35b8 100644 --- a/res/res_hep.c +++ b/res/res_hep.c @@ -561,6 +561,7 @@ static void hepv3_config_post_apply(void) } ao2_global_obj_replace_unref(global_data, data); + ao2_ref(data, -1); } /*!