[vlc-commits] Set the globalPointer to NULL

Jean-Baptiste Kempf git at videolan.org
Thu Apr 24 13:45:22 CEST 2014


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr 24 13:24:01 2014 +0200| [40d65526325d8a48e795af3e52eb24466335b26f] | committer: Jean-Baptiste Kempf

Set the globalPointer to NULL

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=40d65526325d8a48e795af3e52eb24466335b26f
---

 npapi/support/npcommon.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/npapi/support/npcommon.cpp b/npapi/support/npcommon.cpp
index 4748d86..7e11634 100644
--- a/npapi/support/npcommon.cpp
+++ b/npapi/support/npcommon.cpp
@@ -718,6 +718,7 @@ NP_Shutdown(void)
 {
     PLUGINDEBUGSTR("NP_Shutdown");
     NPP_Shutdown();
+    gNetscapeFuncs = NULL;
     return NPERR_NO_ERROR;
 }
 #endif



More information about the vlc-commits mailing list