sds
sds copied to clipboard
realloc without checking the return value
By running a static analyzer, I got this information and I'd like to share.
[src/sds.c:159]: (error) Common realloc mistake: 'sh' nulled but not freed upon failure [src/sds.c:717]: (error) Common realloc mistake: 'vector' nulled but not freed upon failure
Thanks Carlos Tangerino