[sysprof/wip/chergert/sysprof-3] libsysprof-ui: use proper unref
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-ui: use proper unref
- Date: Sun, 12 May 2019 23:52:39 +0000 (UTC)
commit 0f8571ee5e4e2a8643296200d88ab7df98056208
Author: Christian Hergert <chergert redhat com>
Date: Sun May 12 16:51:48 2019 -0700
libsysprof-ui: use proper unref
src/libsysprof-ui/sysprof-mark-visualizer-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof-ui/sysprof-mark-visualizer-row.c b/src/libsysprof-ui/sysprof-mark-visualizer-row.c
index ba71a88..b853866 100644
--- a/src/libsysprof-ui/sysprof-mark-visualizer-row.c
+++ b/src/libsysprof-ui/sysprof-mark-visualizer-row.c
@@ -105,7 +105,7 @@ build_state_free (BuildState *state)
g_hash_table_remove_all (state->inferred_rects);
g_clear_pointer (&state->inferred_rects, g_hash_table_unref);
g_free (state->group);
- g_object_unref (state->cursor);
+ g_clear_pointer (&state->cursor, sysprof_capture_cursor_unref);
g_slice_free (BuildState, state);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]