X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent-notifier-error-accounting.c;h=f0e567f72ed110b6348f99e08baa946d20aa05e8;hp=34dc2b4fe30e8011ca5998407529d5dc0bd3f388;hb=a55f8ad13c4e5a261f37793236403449399f973f;hpb=5d650dcd9e04bcabd53fdf5f3104b93eb82bc0a9 diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.c b/src/bin/lttng-sessiond/event-notifier-error-accounting.c index 34dc2b4fe..f0e567f72 100644 --- a/src/bin/lttng-sessiond/event-notifier-error-accounting.c +++ b/src/bin/lttng-sessiond/event-notifier-error-accounting.c @@ -497,6 +497,8 @@ error_duplicate_cpu_counter: free(cpu_counters[i]); } + free(cpu_counters); + error_allocate_cpu_counters: error_send_counter_data: ustctl_release_object(-1, new_counter);