Init point to NULL in case of free() for 64-bit too
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Nov 2011 21:03:16 +0000 (16:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Nov 2011 21:03:16 +0000 (16:03 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-sessiond/main.c

index 996349f3fa12b2329f85f47b0fbc9d406764b543..f7505849bdeb9bcb6681a46e77214292efabce97 100644 (file)
@@ -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;
This page took 0.037131 seconds and 4 git commands to generate.