mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
libs: display: fix a resource leak in X11 pixmap format.
This commit is contained in:
parent
b3570febf7
commit
196fef9392
1 changed files with 1 additions and 0 deletions
|
@ -512,6 +512,7 @@ ensure_pix_fmts (GstVaapiDisplayX11 * display)
|
|||
n++;
|
||||
}
|
||||
priv->pixmap_formats->len = n;
|
||||
XFree (pix_fmts);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue