mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: use proper unref
This commit is contained in:
@ -105,7 +105,7 @@ build_state_free (BuildState *state)
|
|||||||
g_hash_table_remove_all (state->inferred_rects);
|
g_hash_table_remove_all (state->inferred_rects);
|
||||||
g_clear_pointer (&state->inferred_rects, g_hash_table_unref);
|
g_clear_pointer (&state->inferred_rects, g_hash_table_unref);
|
||||||
g_free (state->group);
|
g_free (state->group);
|
||||||
g_object_unref (state->cursor);
|
g_clear_pointer (&state->cursor, sysprof_capture_cursor_unref);
|
||||||
g_slice_free (BuildState, state);
|
g_slice_free (BuildState, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user