Ensure that string pools allocated to hold stringfields are properly accounted in...
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 5 May 2009 08:51:06 +0000 (08:51 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 5 May 2009 08:51:06 +0000 (08:51 +0000)
commitd8182202efdc2f292f64718cc038eee982850786
tree32bb84ae78de69f9dca21f2f436cb90c10eba737
parent0d44a848705c0a39344b6527a20a1fb4a1d944f8
Ensure that string pools allocated to hold stringfields are properly accounted in MALLOC_DEBUG mode

This commit modifies the stringfield pool allocator to remember the 'owner' of the stringfield manager the pool is being allocated for, and ensures that pools allocated in the future when fields are populated are owned by that file/function.

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