diff --git a/gst-libs/gst/vaapi/gstvaapiutils_core.c b/gst-libs/gst/vaapi/gstvaapiutils_core.c index d7aa26003c..7c98208d42 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_core.c +++ b/gst-libs/gst/vaapi/gstvaapiutils_core.c @@ -202,6 +202,7 @@ gst_vaapi_config_surface_attributes_get (GstVaapiDisplay * display, } } + g_free (surface_attribs); return attribs; /* ERRORS */