aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-28 20:37:10 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-28 20:37:10 +0000
commit2c8074016bdc4684dea8785786bd88de0cb3ac53 (patch)
tree23f7840228901a2fa29ec696858043701cff6f83
parenta790f995dc4c7fd754118634f4552d78ad8a1cff (diff)
Blocked revisions 197775 via svnmerge
........ r197775 | kpfleming | 2009-05-28 15:36:49 -0500 (Thu, 28 May 2009) | 10 lines Ensure that accidental calls to ast_string_field_free_memory() on embedded stringfield pools are safe. It is possible for a stringfield manager structure (and pool) structure to be allocated as part of a larger structure allocation (using ast_calloc_with_strinfields()); when this is done, the stringfield pool cannot be separately freed, but users of the tructure may not be aware (and shouldn't have to be aware) of whether the pool was embedded. This patch modifies the behavior so that they can always call ast_string_field_free_memory() and the function will do the right thing for both embedded and non-embedded situations. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@197776 f38db490-d61c-443f-a65b-d21fe96a405b
0 files changed, 0 insertions, 0 deletions