[asterisk-commits] kpfleming: branch 1.6.2 r197776 - /branches/1.6.2/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 28 15:37:13 CDT 2009


Author: kpfleming
Date: Thu May 28 15:37:10 2009
New Revision: 197776

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197776
Log:
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.
........

Modified:
    branches/1.6.2/   (props changed)

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.




More information about the asterisk-commits mailing list