ust-elf.h should be private, with public symbols
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index 2a7c7d8a39ca0d3beadecdbab820fd90666b6999..adf23af64a952cc9444776541c4ea07bfba5a900 100644 (file)
@@ -587,9 +587,10 @@ int ustctl_create_event_notifier(int sock, struct lttng_ust_abi_event_notifier *
                free(event_notifier_data);
                return ret;
        }
-       /* Send struct lttng_ust_event_notifier */
+       /* Send struct lttng_ust_abi_event_notifier */
        len = ustcomm_send_unix_sock(sock, event_notifier, sizeof(*event_notifier));
        if (len != sizeof(*event_notifier)) {
+               free(event_notifier_data);
                if (len < 0)
                        return len;
                else
This page took 0.024436 seconds and 4 git commands to generate.