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

r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@200824 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2006-06-25 07:18:48 +00:00
parent 43d58586e8
commit 0838fdb344

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;