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;