[Top][All Lists]
[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-93-g5ba91b1 |
Date: |
Sat, 19 Feb 2011 03:31:02 +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 5ba91b199e67d563336573dfa2b438f16d71e26b (commit)
from 0d5cea87446e84e2e9f4bb4ddc4541f7d2824c71 (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=5ba91b199e67d563336573dfa2b438f16d71e26b
commit 5ba91b199e67d563336573dfa2b438f16d71e26b
Author: Bastiaan Jacques <address@hidden>
Date: Sat Feb 19 04:29:38 2011 +0100
Plug a leak by not holding an extra reference.
diff --git a/plugin/npapi/plugin.cpp b/plugin/npapi/plugin.cpp
index f615163..693c36f 100644
--- a/plugin/npapi/plugin.cpp
+++ b/plugin/npapi/plugin.cpp
@@ -393,7 +393,6 @@ nsPluginInstance::nsPluginInstance(nsPluginCreateData* data)
_width(0),
_height(0),
_streamfd(-1),
- _ichan(0),
_ichanWatchId(0),
_controlfd(-1),
_childpid(0),
@@ -1290,6 +1289,7 @@ nsPluginInstance::startProc()
(GIOCondition)(G_IO_IN|G_IO_HUP),
(GIOFunc)handlePlayerRequestsWrapper,
this);
+ g_io_channel_unref(ichan);
return;
}
diff --git a/plugin/npapi/plugin.h b/plugin/npapi/plugin.h
index 007df68..6666128 100644
--- a/plugin/npapi/plugin.h
+++ b/plugin/npapi/plugin.h
@@ -125,7 +125,6 @@ private:
unsigned int _height;
std::map<std::string, std::string> _options;
int _streamfd;
- GIOChannel* _ichan;
int _ichanWatchId;
int _controlfd;
pid_t _childpid;
-----------------------------------------------------------------------
Summary of changes:
plugin/npapi/plugin.cpp | 2 +-
plugin/npapi/plugin.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-93-g5ba91b1,
Bastiaan Jacques <=