X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fjul.c;h=a16e9b34b6ce34314bc90150b3e0a9ae61685bb0;hb=e123b80c5f624ead06e0adf3bc2cc7b9f08e3bd6;hp=318d511651e3147061a715703bda1631d16d2f48;hpb=aae6255e116d17f57e5a2eaf477bf48939a2121a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/jul.c b/src/bin/lttng-sessiond/jul.c index 318d51165..a16e9b34b 100644 --- a/src/bin/lttng-sessiond/jul.c +++ b/src/bin/lttng-sessiond/jul.c @@ -450,7 +450,6 @@ int jul_list_events(struct lttng_event **events) ptr = realloc(tmp_events, nbmem * sizeof(*tmp_events)); if (!ptr) { PERROR("realloc JUL events"); - free(tmp_events); ret = -ENOMEM; rcu_read_unlock(); goto error;