memory leak fixes

This commit is contained in:
Wim Taymans 2017-07-11 20:54:10 +02:00
parent 83b4eaca53
commit 267547c884
3 changed files with 10 additions and 0 deletions

View file

@ -194,6 +194,8 @@ gst_pipewire_src_finalize (GObject * object)
clear_queue (pwsrc);
pw_core_destroy (pwsrc->core);
pwsrc->core = NULL;
pw_thread_loop_destroy (pwsrc->main_loop);
pwsrc->main_loop = NULL;
pw_loop_destroy (pwsrc->loop);