Summary: | ASTERISK-06205: [patch] Converting /(root) to use *alloc() wrappers - 1 | ||
Reporter: | Matthew Roth (matthew roth) | Labels: | |
Date Opened: | 2006-01-26 18:46:42.000-0600 | Date Closed: | 2008-01-15 16:46:47.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) root_acl_to_asterisk-alloc_wrappers-1.0.patch | |
Description: | This patch updates the following files in the root source directory to use the new *alloc() wrappers: - /acl.c - /app.c - /asterisk.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 - explicit void * casts removed - untested allocations commented ****** ADDITIONAL INFORMATION ****** As always, comments on how I can improve my patches are welcome. = ) | ||
Comments: | By: Kevin P. Fleming (kpfleming) 2006-02-14 15:28:21.000-0600 Committed to trunk, thanks! By: Digium Subversion (svnbot) 2008-01-15 16:46:47.000-0600 Repository: asterisk Revision: 10066 U trunk/acl.c U trunk/app.c U trunk/asterisk.c ------------------------------------------------------------------------ r10066 | kpfleming | 2008-01-15 16:46:47 -0600 (Tue, 15 Jan 2008) | 2 lines more memory allocation wrapper conversion (issue ASTERISK-6205) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=10066 |