mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
async-progress: Plug memory leak while destroying GSource
See https://gitlab.gnome.org/GNOME/glib/commit/71973c722
This commit is contained in:
parent
f333ae74f4
commit
78c8c25d64
@ -465,7 +465,7 @@ ostree_async_progress_finish (OstreeAsyncProgress *self)
|
||||
if (self->idle_source)
|
||||
{
|
||||
g_source_destroy (self->idle_source);
|
||||
self->idle_source = NULL;
|
||||
g_clear_pointer (&self->idle_source, g_source_unref);
|
||||
emit_changed = TRUE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user