mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result
r=jst sr=jst
This commit is contained in:
parent
92f1c43449
commit
3a74aac7f5
@ -1928,7 +1928,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
|
||||
*((NPNToolkitType*)result) = NPNVGtk2;
|
||||
#endif
|
||||
|
||||
if (result)
|
||||
if (*result)
|
||||
return NPERR_NO_ERROR;
|
||||
|
||||
return NPERR_GENERIC_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user