sds icon indicating copy to clipboard operation
sds copied to clipboard

realloc without checking the return value

Open Tangerino opened this issue 10 years ago • 0 comments

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

Tangerino avatar Aug 08 '15 06:08 Tangerino