[U-Boot] [scripts/docproc.c:398]: (error) Common realloc mistake

Hello,
cppcheck reports:
[scripts/docproc.c:398]: (error) Common realloc mistake: 'data' nulled but not freed upon failure [scripts/docproc.c:422]: (error) Common realloc mistake: 'all_list' nulled but not freed upon failure
can you please have a look? Thanks!
Best regards,
Wolfgang Denk

On Thursday, November 06, 2014 at 01:42:41 PM, Wolfgang Denk wrote:
Hello,
Hello,
cppcheck reports:
[scripts/docproc.c:398]: (error) Common realloc mistake: 'data' nulled but not freed upon failure [scripts/docproc.c:422]: (error) Common realloc mistake: 'all_list' nulled but not freed upon failure
can you please have a look? Thanks!
This looks unresolved in mainline Linux as well. I'm currently really pressed, so I cannot take an immediate action. I believe it would be worth reporting it to mainline Linux guys as well though.
Best regards, Marek Vasut
participants (2)
-
Marek Vasut
-
Wolfgang Denk