X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fjul.c;h=8b57b8d70cd7215fbfe393e76be097a6ce01f68c;hp=a16e9b34b6ce34314bc90150b3e0a9ae61685bb0;hb=96090c92aec2d6f1565d8352a3eb309d130e19f7;hpb=477812d122932d5cdf474bce479327a82f748e30 diff --git a/src/bin/lttng-sessiond/jul.c b/src/bin/lttng-sessiond/jul.c index a16e9b34b..8b57b8d70 100644 --- a/src/bin/lttng-sessiond/jul.c +++ b/src/bin/lttng-sessiond/jul.c @@ -452,6 +452,7 @@ int jul_list_events(struct lttng_event **events) PERROR("realloc JUL events"); ret = -ENOMEM; rcu_read_unlock(); + free(jul_events); goto error; } tmp_events = ptr;