mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
mainloop-glib: destroy the source
This commit is contained in:
parent
e4c94bf12d
commit
a14e16806f
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c)
|
|||
|
||||
void pa_glib_mainloop_free(pa_glib_mainloop* g)
|
||||
{
|
||||
g_source_destroy(&g->source->base);
|
||||
pa_mainloop_free(g->loop);
|
||||
free(g);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue