]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix unintential memory retention in stringfields.
authorCorey Farrell <git@cfware.com>
Thu, 6 Nov 2014 09:10:47 +0000 (09:10 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 6 Nov 2014 09:10:47 +0000 (09:10 +0000)
commite9f3480121bd61814aa54151a228cc82aa8e4f6c
tree8a063104eadba2999ad162aee81f02ee24b9ee1f
parent48f329bfe855540a903305d38113c924838cd166
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

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