Fix crash in FindSendPropInfo() when the prop was DPT_DataTable (#1575)

This commit is contained in:
Vladimir 2021-09-07 04:42:04 +03:00 committed by GitHub
parent c3e6428ff7
commit 106f807b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -825,7 +825,7 @@ static cell_t FindSendPropInfo(IPluginContext *pContext, const cell_t *params)
{
char *cls, *prop;
sm_sendprop_info_t info;
cell_t *pType, *pBits, *pLocal, *pArraySize;
cell_t *pType, *pBits, *pLocal, *pArraySize = nullptr;
pContext->LocalToString(params[1], &cls);
pContext->LocalToString(params[2], &prop);