Free exclusion data when ust_app_event is deleted
authorJP Ikaheimonen <jp_ikaheimonen@mentor.com>
Mon, 4 Nov 2013 14:22:01 +0000 (16:22 +0200)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 14 Nov 2013 18:40:58 +0000 (13:40 -0500)
src/bin/lttng-sessiond/ust-app.c

index 2d8cb2c279c8306eb25cc8f6a02d56be70cbb31e..9f9919e637722bf0b7eab078edea58a9c25803d2 100644 (file)
@@ -287,7 +287,8 @@ void delete_ust_app_event(int sock, struct ust_app_event *ua_event)
        assert(ua_event);
 
        free(ua_event->filter);
-
+       if (ua_event->exclusion != NULL)
+               free(ua_event->exclusion);
        if (ua_event->obj != NULL) {
                ret = ustctl_release_object(sock, ua_event->obj);
                if (ret < 0 && ret != -EPIPE && ret != -LTTNG_UST_ERR_EXITING) {
This page took 0.026291 seconds and 4 git commands to generate.