diff options
author | Philippe Normand <philn@igalia.com> | 2019-01-18 13:28:26 +0000 |
---|---|---|
committer | Philippe Normand <philn@igalia.com> | 2019-01-22 11:52:30 +0000 |
commit | c34cd8c5e001a533c0344cb4a6bf8ceba8adee2c (patch) | |
tree | 2391e103e356115e28dcc1f67e57a22f27b351bb | |
parent | c357e1211865bc7e76ddd740611669437f8496e2 (diff) | |
download | gstreamer-plugins-bad-c34cd8c5e001a533c0344cb4a6bf8ceba8adee2c.tar.gz |
wpesrc: Plug WPE's exportable leak
-rw-r--r-- | ext/wpe/WPEThreadedView.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/wpe/WPEThreadedView.cpp b/ext/wpe/WPEThreadedView.cpp index d33409a10..928e7e045 100644 --- a/ext/wpe/WPEThreadedView.cpp +++ b/ext/wpe/WPEThreadedView.cpp @@ -76,6 +76,11 @@ WPEThreadedView::~WPEThreadedView() } } + { + GMutexHolder lock(threading.mutex); + wpe_view_backend_exportable_fdo_destroy(wpe.exportable); + } + if (gst.display) { gst_object_unref(gst.display); gst.display = nullptr; |