Re: [PATCH] trace-cmd: trace-cmd.c call free only once on tracing and path

From: Steven Rostedt
Date: Tue Feb 23 2016 - 17:23:00 EST


On Thu, 3 Dec 2015 23:34:13 +0100 (CET)
John Kacur <jkacur@xxxxxxxxxx> wrote:

> >From 33102b6423ba64798d91aee9de4ecb21189dd49e Mon Sep 17 00:00:00 2001
> From: John Kacur <jkacur@xxxxxxxxxx>
> Date: Thu, 3 Dec 2015 23:29:05 +0100
> Subject: [PATCH] trace-cmd: don't call free on tracing and path more than once
>
> In version trace-cmd-stable-v2.2 it is possible to call free on
> tracing and path more than once.
>
> Ensure this only happens once by moving this block to after the call
> to out_free

Applied to upstream. I'll have to go and back port patches for the
stable releases too.

Thanks,

-- Steve