diff options
author | He Junyan <junyan.he@hotmail.com> | 2020-01-01 19:54:13 +0800 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-01-03 06:49:07 +0000 |
commit | 196fef9392cd6213a548d1f19be88b971255ee53 (patch) | |
tree | f099f08787ea4538f8906a3e48187f4e802ca466 /gst-libs/gst/vaapi | |
parent | b3570febf7d6a1374d1f516a729861ce39458c66 (diff) |
libs: display: fix a resource leak in X11 pixmap format.
Diffstat (limited to 'gst-libs/gst/vaapi')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay_x11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_x11.c b/gst-libs/gst/vaapi/gstvaapidisplay_x11.c index f5fa2fce..a1c82e68 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay_x11.c +++ b/gst-libs/gst/vaapi/gstvaapidisplay_x11.c @@ -512,6 +512,7 @@ ensure_pix_fmts (GstVaapiDisplayX11 * display) n++; } priv->pixmap_formats->len = n; + XFree (pix_fmts); return TRUE; } |