gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-


From: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-247-g404ed4a
Date: Fri, 11 Mar 2011 20:37:13 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  404ed4a72a9890dd961bcb746110492856849362 (commit)
       via  43a8e979baf848bae8a88c2d44d186ef5c9b1f43 (commit)
       via  6a684f9d22190d4103128d2967946da148d27414 (commit)
      from  a1181f4696ae13eccb9b2c982001b75dd6697516 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=404ed4a72a9890dd961bcb746110492856849362


commit 404ed4a72a9890dd961bcb746110492856849362
Author: Bastiaan Jacques <address@hidden>
Date:   Fri Mar 11 21:33:51 2011 +0100

    Plug memory leak (bug #32727).

diff --git a/plugin/npapi/plugin.cpp b/plugin/npapi/plugin.cpp
index 5ab0da8..b6d8574 100644
--- a/plugin/npapi/plugin.cpp
+++ b/plugin/npapi/plugin.cpp
@@ -465,6 +465,10 @@ nsPluginInstance::~nsPluginInstance()
         _ichanWatchId = 0;
     }
 
+    if (_scriptObject) {
+        NPN_ReleaseObject(_scriptObject);
+    }
+
     if (_childpid > 0) {
         // When the child has terminated (signaled by GTK through GtkSocket), 
it
         // remains as a defunct process and we remove it from the kernel table 
now.

http://git.savannah.gnu.org/cgit//commit/?id=43a8e979baf848bae8a88c2d44d186ef5c9b1f43


commit 43a8e979baf848bae8a88c2d44d186ef5c9b1f43
Author: Bastiaan Jacques <address@hidden>
Date:   Fri Mar 11 21:29:34 2011 +0100

    Remove spurious print.

diff --git a/libcore/ExternalInterface.cpp b/libcore/ExternalInterface.cpp
index f45b5da..bcb0c10 100644
--- a/libcore/ExternalInterface.cpp
+++ b/libcore/ExternalInterface.cpp
@@ -358,8 +358,6 @@ ExternalInterface::readBrowser(int fd)
         buf.resize(ret);
     }
 
-    std::cout << buf << std::endl;
-    
     return buf;
 }
 

http://git.savannah.gnu.org/cgit//commit/?id=6a684f9d22190d4103128d2967946da148d27414


commit 6a684f9d22190d4103128d2967946da148d27414
Author: Bastiaan Jacques <address@hidden>
Date:   Fri Mar 11 21:13:20 2011 +0100

    NPN_CreateObject is available in mozilla-1.9.0.

diff --git a/plugin/npapi/plugin.cpp b/plugin/npapi/plugin.cpp
index ec3ba48..5ab0da8 100644
--- a/plugin/npapi/plugin.cpp
+++ b/plugin/npapi/plugin.cpp
@@ -425,12 +425,10 @@ nsPluginInstance::nsPluginInstance(nsPluginCreateData* 
data)
         _params[name] = val;
     }
 
-#if NPAPI_VERSION != 190
     if (NPNFuncs.version >= 14) { // since NPAPI start to support
         _scriptObject = (GnashPluginScriptObject *)NPNFuncs.createobject(
             _instance, GnashPluginScriptObject::marshalGetNPClass());
     }
-#endif
     
     return;
 }

-----------------------------------------------------------------------

Summary of changes:
 libcore/ExternalInterface.cpp |    2 --
 plugin/npapi/plugin.cpp       |    6 ++++--
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]