]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix unintential memory retention in stringfields.
authorCorey Farrell <git@cfware.com>
Thu, 6 Nov 2014 09:17:50 +0000 (09:17 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 6 Nov 2014 09:17:50 +0000 (09:17 +0000)
commit433366ab90ba5a53e7b215076dd747e55beec80f
tree23f81cc48bd767e91d2a23f7caf195771e4e228f
parentc056506d848e0b4e1a23a6f88400183ba46c8dd3
Fix unintential memory retention in stringfields.

* Fix missing / unreachable calls to __ast_string_field_release_active.
* Reset pool->used to zero when the current pool->active reaches zero.

ASTERISK-24307 #close
Reported by: Etienne Lessard
Tested by: ibercom, Etienne Lessard
Review: https://reviewboard.asterisk.org/r/4114/
........

Merged revisions 427380 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 427381 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 427382 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@427384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/stringfields.h
main/utils.c