Changeset 473 for trunk/src/sh_html.c
- Timestamp:
- May 29, 2015, 10:42:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_html.c
r454 r473 311 311 if (entry_orig != NULL) 312 312 { 313 entry_orig= realloc(entry_orig, /* free() ok */313 char * ptr = realloc(entry_orig, /* free() ok */ 314 314 entry_size + line_size + 1); 315 if (entry_orig) { add_size = line_size; } 315 if (ptr) { 316 entry_orig = ptr; 317 add_size = line_size; 318 } else { 319 { free(entry_orig); entry_orig = NULL; } 320 } 316 321 } 317 322 else
Note:
See TracChangeset
for help on using the changeset viewer.