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@200826 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2006-06-25 07:34:52 +00:00
parent 87db23a6a4
commit 9aa4ffcfad

View File

@@ -1928,7 +1928,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
*((NPNToolkitType*)result) = NPNVGtk2;
#endif
if (*result)
if (*(NPNToolkitType*)result)
return NPERR_NO_ERROR;
return NPERR_GENERIC_ERROR;