[sysprof/wip/chergert/control-fd: 10/11] capture: release collector struct during thread finalize
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/control-fd: 10/11] capture: release collector struct during thread finalize
- Date: Tue, 11 Feb 2020 19:24:05 +0000 (UTC)
commit f207021f0331568e3a0938fc927d0711ef7d9911
Author: Christian Hergert <chergert redhat com>
Date: Sun Feb 9 13:07:35 2020 -0800
capture: release collector struct during thread finalize
src/libsysprof-capture/sysprof-collector.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libsysprof-capture/sysprof-collector.c b/src/libsysprof-capture/sysprof-collector.c
index 8239dc0..dd2c64c 100644
--- a/src/libsysprof-capture/sysprof-collector.c
+++ b/src/libsysprof-capture/sysprof-collector.c
@@ -191,6 +191,7 @@ sysprof_collector_free (gpointer data)
if (collector->writer != NULL)
sysprof_capture_writer_flush (collector->writer);
g_clear_pointer (&collector->writer, sysprof_capture_writer_unref);
+ g_slice_free (SysprofCollector, collector);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]