Re: [PATCH 02/17] tools lib traceevent: Check return value of realloc()
On Wed, 15 Jan 2014 10:45:25 +0900 Namhyung Kim <namhyung@kernel.org> wrote:
> If realloc() fails, it'll leak the buffer. Also increate buffer size > only if the allocation succeeded. > > Signed-off-by: Namhyung Kim <namhyung@kernel.org> > ---