Fix check for NULL-pointer in WUPSGetLoadedPlugins

This commit is contained in:
Maschell 2020-06-12 21:06:34 +02:00
parent dfb8828829
commit 2633d983f3

View File

@ -186,7 +186,7 @@ int32_t WUPSGetLoadedPlugins(plugin_container_handle *io_handles, uint32_t buffe
break; break;
} }
} }
if (*outSize) { if (outSize != NULL) {
*outSize = counter; *outSize = counter;
} }
return 0; return 0;