Re: [PATCH] perf script: fix double free on command_line

2016-03-02 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 02, 2016 at 08:31:43AM +0100, Jiri Olsa escreveu: > On Tue, Mar 01, 2016 at 11:46:20PM +, Colin King wrote: > > command_line is free'd twice if db_export__branch_types fails. To > > avoid this, defer the free'ing of command_line to after this call > > so that the error return path

Re: [PATCH] perf script: fix double free on command_line

2016-03-02 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 02, 2016 at 08:31:43AM +0100, Jiri Olsa escreveu: > On Tue, Mar 01, 2016 at 11:46:20PM +, Colin King wrote: > > command_line is free'd twice if db_export__branch_types fails. To > > avoid this, defer the free'ing of command_line to after this call > > so that the error return path

Re: [PATCH] perf script: fix double free on command_line

2016-03-01 Thread Jiri Olsa
On Tue, Mar 01, 2016 at 11:46:20PM +, Colin King wrote: > From: Colin Ian King > > command_line is free'd twice if db_export__branch_types fails. To > avoid this, defer the free'ing of command_line to after this call > so that the error return path will just free

Re: [PATCH] perf script: fix double free on command_line

2016-03-01 Thread Jiri Olsa
On Tue, Mar 01, 2016 at 11:46:20PM +, Colin King wrote: > From: Colin Ian King > > command_line is free'd twice if db_export__branch_types fails. To > avoid this, defer the free'ing of command_line to after this call > so that the error return path will just free command_line once. >

[PATCH] perf script: fix double free on command_line

2016-03-01 Thread Colin King
From: Colin Ian King command_line is free'd twice if db_export__branch_types fails. To avoid this, defer the free'ing of command_line to after this call so that the error return path will just free command_line once. Signed-off-by: Colin Ian King

[PATCH] perf script: fix double free on command_line

2016-03-01 Thread Colin King
From: Colin Ian King command_line is free'd twice if db_export__branch_types fails. To avoid this, defer the free'ing of command_line to after this call so that the error return path will just free command_line once. Signed-off-by: Colin Ian King ---