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

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