registry: check the return value of g_win32_get_package_installation_directory_of_mod...
authorMatthew Waters <matthew@centricular.com>
Mon, 7 Feb 2022 05:33:03 +0000 (16:33 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Feb 2022 09:37:57 +0000 (09:37 +0000)
commitc7d5b774d53d88609df89cf404e2d728f4ea2ddf
treec71dbd3a248292bdedfa01377143acceb78edf75
parent2f9ad381186b6ddeadb1dd0436bfdaaa165a816c
registry: check the return value of g_win32_get_package_installation_directory_of_module()

g_win32_get_package_installation_directory_of_module() may return NULL
in some circumstances and we need to deal with that.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/996

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1644>
subprojects/gstreamer/gst/gstregistry.c