From 0838fdb344011610b6ec02cc94bfe7431157fd95 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sun, 25 Jun 2006 07:18:48 +0000 Subject: [PATCH] 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 --- mozilla/modules/plugin/base/src/ns4xPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/modules/plugin/base/src/ns4xPlugin.cpp b/mozilla/modules/plugin/base/src/ns4xPlugin.cpp index cf4a93022da..ee698da91fc 100644 --- a/mozilla/modules/plugin/base/src/ns4xPlugin.cpp +++ b/mozilla/modules/plugin/base/src/ns4xPlugin.cpp @@ -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;