Re: [LEDE-DEV] [PATCH 2/2] fstools: Fix some errors detected by cppcheck

2017-12-10 Thread Rosen Penev
Reposting since gmail sucks: On Sun, Dec 10, 2017 at 10:17 AM, Arjen de Korte wrote: > Citeren Rosen Penev : > >> Mainly plugging memory leaks. Size reduction as well. The calloc change >> accounts for 272 bytes on this machine for some reason... > > > Comments inline. > >> Signed-off-by: Rosen P

Re: [LEDE-DEV] [PATCH 2/2] fstools: Fix some errors detected by cppcheck

2017-12-10 Thread Arjen de Korte
Citeren Rosen Penev : Mainly plugging memory leaks. Size reduction as well. The calloc change accounts for 272 bytes on this machine for some reason... Comments inline. Signed-off-by: Rosen Penev --- block.c | 6 +++--- blockd.c | 3 +++ libfstools/overl

[LEDE-DEV] [PATCH 2/2] fstools: Fix some errors detected by cppcheck

2017-12-09 Thread Rosen Penev
Mainly plugging memory leaks. Size reduction as well. The calloc change accounts for 272 bytes on this machine for some reason... Signed-off-by: Rosen Penev --- block.c | 6 +++--- blockd.c | 3 +++ libfstools/overlay.c | 2 +- libfstools/rootdisk.c|