Fix crash in FindSendPropInfo()
when the prop was DPT_DataTable
(#1575)
This commit is contained in:
parent
c3e6428ff7
commit
106f807b68
@ -825,7 +825,7 @@ static cell_t FindSendPropInfo(IPluginContext *pContext, const cell_t *params)
|
|||||||
{
|
{
|
||||||
char *cls, *prop;
|
char *cls, *prop;
|
||||||
sm_sendprop_info_t info;
|
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[1], &cls);
|
||||||
pContext->LocalToString(params[2], &prop);
|
pContext->LocalToString(params[2], &prop);
|
||||||
|
Loading…
Reference in New Issue
Block a user