libsysprof-gtk: dont transfer ownership of borrowed axis

This commit is contained in:
Christian Hergert
2023-06-29 14:17:47 -07:00
parent 57e702b139
commit 22cee18f61

View File

@ -40,10 +40,10 @@ sysprof_counter_track_create_chart (SysprofTrack *track)
SysprofCounterTrack *self = (SysprofCounterTrack *)track;
SysprofSession *session = NULL;
g_autoptr(SysprofSeries) xy_series = NULL;
g_autoptr(SysprofAxis) x_axis = NULL;
g_autoptr(SysprofAxis) y_axis = NULL;
SysprofChartLayer *layer;
SysprofChart *chart;
SysprofAxis *x_axis;
g_assert (SYSPROF_IS_COUNTER_TRACK (self));