* Douglas Santos ([email protected]) wrote:
> Signed-off-by: Douglas Santos <[email protected]>
> ---
>  libust/tracectl.c |   30 +++++++++++++++++++++---------
>  1 files changed, 21 insertions(+), 9 deletions(-)
> 
> diff --git a/libust/tracectl.c b/libust/tracectl.c
> index 5ec35b6..60c375b 100644
> @@ -1053,6 +1062,9 @@ int process_client_cmd(char *recvbuf, struct 
> ustcomm_source *src)

you forgot NULL initialization here.

Mathieu

>               if (result < 0) {
>                       WARN("could not disable marker; channel=%s, name=%s", 
> channel_name, marker_name);
>               }
> +
> +             free(channel_name);
> +             free(marker_name);
>       } else if (nth_token_is(recvbuf, "get_pidunique", 0) == 1) {
>               char *reply;
>  
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> ltt-dev mailing list
> [email protected]
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to