From: Mathieu Desnoyers Date: Tue, 29 Nov 2011 21:03:16 +0000 (-0500) Subject: Init point to NULL in case of free() for 64-bit too X-Git-Tag: v2.0-pre15~60^2 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b1e0b6b6dd635faf8b7b0a506d0cea56e1d2e674 Init point to NULL in case of free() for 64-bit too Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index 996349f3f..f7505849b 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -1532,7 +1532,7 @@ static pid_t spawn_consumerd(struct consumer_data *consumer_data) break; case LTTNG_CONSUMER64_UST: { - char *tmpnew; + char *tmpnew = NULL; if (consumerd64_libdir[0] != '\0') { char *tmp;