Changeset 5170 for pjproject/trunk/pjlib/src/pjlib-test/pool_perf.c
- Timestamp:
- Aug 25, 2015 8:45:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/pool_perf.c
r3553 r5170 48 48 49 49 for (i=0; i<COUNT; ++i) { 50 char *p ;51 if ( (p =(char*)pj_pool_alloc(pool, sizes[i])) == NULL) {50 char *ptr; 51 if ( (ptr=(char*)pj_pool_alloc(pool, sizes[i])) == NULL) { 52 52 PJ_LOG(3,(THIS_FILE," error: pool failed to allocate %d bytes", 53 53 sizes[i])); … … 55 55 return -1; 56 56 } 57 *p = '\0';57 *ptr = '\0'; 58 58 } 59 59
Note: See TracChangeset
for help on using the changeset viewer.