libsysprof-gtk: bail if we don't have enough info to normalize

This commit is contained in:
Christian Hergert
2023-07-10 10:38:40 -07:00
parent 1ee9719f5a
commit 846e2e6818

View File

@ -76,7 +76,7 @@ sysprof_normalized_series_update_missing (gpointer user_data)
g_assert (SYSPROF_IS_NORMALIZED_SERIES (self));
if (self->missing == NULL || self->disposed)
if (self->missing == NULL || self->disposed || self->axis == NULL || self->series == NULL || self->expression == NULL)
{
self->update_source = 0;
return G_SOURCE_REMOVE;