mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
Merge pull request #1953 from uajain/uajain/fix-memory-leak
async-progress: Plug memory leak while destroying GSource
This commit is contained in:
commit
476f375cfc
@ -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