Summary:ASTERISK-06417: [patch] Converting /(root) to use *alloc() wrappers - 7
Reporter:Matthew Roth (matthew roth)Labels:
Date Opened:2006-02-24 18:28:09.000-0600Date Closed:2008-01-15 17:03:30.000-0600
Versions:Frequency of
Environment:Attachments:( 0) root_logger-alloc_wrappers-1.0.patch
Description:This patch updates the following files in the root source directory to use the new *alloc() wrappers:

- /logger.c

The following cleanup tasks were also performed on the updated code:

- malloc() + memset() consolidated to ast_calloc()
- allocations and null checks consolidated to 1 line
- sizeof calls changed to reflect the coding guidelines
- strdup calls converted to ast_strdup
- untested allocations commented
- general code consolidation
Comments:By: Russell Bryant (russell) 2006-02-26 18:44:17.000-0600

added to the trunk in rev 11232, thanks!

By: Digium Subversion (svnbot) 2008-01-15 17:03:30.000-0600

Repository: asterisk
Revision: 11232

U   trunk/logger.c

r11232 | russell | 2008-01-15 17:03:30 -0600 (Tue, 15 Jan 2008) | 2 lines

conversions to allocation wrappers and coding guidelines fixes (issue ASTERISK-6417)