glcontext_wgl: fix missing unref

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4392>
This commit is contained in:
Matthias Fuchs 2023-04-05 13:20:19 +02:00 committed by GStreamer Marge Bot
parent 884dbb4ace
commit 769cc48e49

View file

@ -528,5 +528,7 @@ gst_gl_context_wgl_get_config (GstGLContext * context)
pixfmt = GetPixelFormat (hdc);
gst_object_unref (window);
return pixel_format_to_structure (hdc, pixfmt);
}