Summary: | ASTERISK-06407: [patch] Converting /(root) to use *alloc() wrappers - 6 | ||
Reporter: | Matthew Roth (matthew roth) | Labels: | |
Date Opened: | 2006-02-23 15:59:36.000-0600 | Date Closed: | 2008-01-15 17:03:29.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) root_indications_to_loader-alloc_wrappers-1.0.patch | |
Description: | This patch updates the following files in the root source directory to use the new *alloc() wrappers: - /indications.c - /io.c - /jitterbuf.c - /jitterbuf.h - /loader.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 - lists of #define-d numeric constants converted to enums - explicit void * casts removed - strdup calls converted to ast_strdup - general code consolidation | ||
Comments: | By: Russell Bryant (russell) 2006-02-26 18:39:09.000-0600 added to the trunk in rev 11231, thanks! By: Digium Subversion (svnbot) 2008-01-15 17:03:29.000-0600 Repository: asterisk Revision: 11231 U trunk/indications.c U trunk/io.c U trunk/jitterbuf.c U trunk/jitterbuf.h U trunk/loader.c ------------------------------------------------------------------------ r11231 | russell | 2008-01-15 17:03:29 -0600 (Tue, 15 Jan 2008) | 2 lines conversions to allocation wrappers and various other coding guideliens fixes (issue ASTERISK-6407) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=11231 |