Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result

r=jst sr=jst
This commit is contained in:
timeless%mozdev.org 2006-06-25 07:18:48 +00:00
parent 92f1c43449
commit 3a74aac7f5

View File

@ -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;