diff --git a/src/core/meta-profiler.c b/src/core/meta-profiler.c index 740f38dfc..c1526c95f 100644 --- a/src/core/meta-profiler.c +++ b/src/core/meta-profiler.c @@ -343,6 +343,7 @@ meta_profiler_unregister_thread (MetaProfiler *profiler, if (thread_info->main_context == main_context) { + thread_info_free (thread_info); profiler->threads = g_list_delete_link (profiler->threads, l); break; }