mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
glcontext_wgl: fix missing unref
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4392>
This commit is contained in:
parent
884dbb4ace
commit
769cc48e49
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue