mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: more defense from disposal
This commit is contained in:
@ -71,6 +71,12 @@ sysprof_normalized_series_update_missing (gpointer user_data)
|
|||||||
|
|
||||||
g_assert (SYSPROF_IS_NORMALIZED_SERIES (self));
|
g_assert (SYSPROF_IS_NORMALIZED_SERIES (self));
|
||||||
|
|
||||||
|
if (self->missing == NULL)
|
||||||
|
{
|
||||||
|
self->update_source = 0;
|
||||||
|
return G_SOURCE_REMOVE;
|
||||||
|
}
|
||||||
|
|
||||||
model = g_object_ref (sysprof_series_get_model (self->series));
|
model = g_object_ref (sysprof_series_get_model (self->series));
|
||||||
bitset = egg_bitset_ref (self->missing);
|
bitset = egg_bitset_ref (self->missing);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user