gl/context/wgl: Add missing NULL init
authorSeungha Yang <seungha@centricular.com>
Sat, 3 Jul 2021 10:36:06 +0000 (19:36 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 3 Jul 2021 11:40:25 +0000 (11:40 +0000)
commitaa34710bb6975f0ab7f25cb17c4f93366f8f01e1
tree23d7c9f5b40997800cdeb966c2486e030450625f
parent6389eef70de782fc145b9a43233d3b41b978e675
gl/context/wgl: Add missing NULL init

The value of uninitialized local variable is varying depending
on compiler and not guaranteed to be NULL initialized.
That results in pointing random address instead of expected function pointer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1222>
gst-libs/gst/gl/wgl/gstglcontext_wgl.c