Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] [UST PATCH 2/2] fix sscanf format string v3
Date: Mon, 13 Sep 2010 19:46:09 -0400	[thread overview]
Message-ID: <20100913234609.GA23630@Krystal> (raw)
In-Reply-To: <1284419116-13366-2-git-send-email-douglas.santos@polymtl.ca>

* Douglas Santos (douglas.santos at polymtl.ca) wrote:
> Signed-off-by: Douglas Santos <douglas.santos at polymtl.ca>
> ---
>  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
> ltt-dev at lists.casi.polymtl.ca
> 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




  reply	other threads:[~2010-09-13 23:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 23:05 [ltt-dev] [UST PATCH 1/2] tracectl cleanup v3 Douglas Santos
2010-09-13 23:05 ` [ltt-dev] [UST PATCH 2/2] fix sscanf format string v3 Douglas Santos
2010-09-13 23:46   ` Mathieu Desnoyers [this message]
2010-09-14  1:47   ` Mathieu Desnoyers
2010-09-14  6:54   ` Nils Carlson
2010-09-13 23:46 ` [ltt-dev] [UST PATCH 1/2] tracectl cleanup v3 Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100913234609.GA23630@Krystal \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox