mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
perf: fix incorrect free func for ptr array
This commit is contained in:
@ -185,7 +185,7 @@ sp_perf_counter_finalize (SpPerfCounter *self)
|
|||||||
self->callback_data_destroy (self->callback_data);
|
self->callback_data_destroy (self->callback_data);
|
||||||
|
|
||||||
g_clear_pointer (&self->source, g_source_destroy);
|
g_clear_pointer (&self->source, g_source_destroy);
|
||||||
g_clear_pointer (&self->info, g_ptr_array_free);
|
g_clear_pointer (&self->info, g_ptr_array_unref);
|
||||||
g_clear_pointer (&self->context, g_main_context_unref);
|
g_clear_pointer (&self->context, g_main_context_unref);
|
||||||
g_slice_free (SpPerfCounter, self);
|
g_slice_free (SpPerfCounter, self);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user