From 2633d983f3759becba03f8cc3e1db196e9835668 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 12 Jun 2020 21:06:34 +0200 Subject: [PATCH] Fix check for NULL-pointer in WUPSGetLoadedPlugins --- source/utils/exports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/exports.cpp b/source/utils/exports.cpp index ce36b51..b18cc82 100644 --- a/source/utils/exports.cpp +++ b/source/utils/exports.cpp @@ -186,7 +186,7 @@ int32_t WUPSGetLoadedPlugins(plugin_container_handle *io_handles, uint32_t buffe break; } } - if (*outSize) { + if (outSize != NULL) { *outSize = counter; } return 0;