Changeset 473 for trunk/src/sh_srp.c
- Timestamp:
- May 29, 2015, 10:42:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_srp.c
r454 r473 114 114 size = strlen(str) + 1; 115 115 if (size > siz_str_internal) 116 get_str_internal = realloc (get_str_internal, size); 116 { 117 char * ptr = realloc (get_str_internal, size); 118 if (ptr) 119 get_str_internal = ptr; 120 else 121 { free(get_str_internal); get_str_internal = NULL; } 122 } 117 123 if (get_str_internal == NULL) 118 124 {
Note:
See TracChangeset
for help on using the changeset viewer.