summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-10-11 12:59:20 +0000
committerChristian Persch <chpe@src.gnome.org>2006-10-11 12:59:20 +0000
commit1595579c643014378063f1e110cbd6a4edf60ed6 (patch)
treed5d83f686acd8bf4234daa55ab52f5574b599e78
parent9121caf12576c03497962432e04dc49ab596a08f (diff)
downloadtotem-1595579c643014378063f1e110cbd6a4edf60ed6.tar.gz
- Don't destroy stream when we don't have one. Bug #360959.
2006-10-11 Christian Persch <chpe@cvs.gnome.org> * browser-plugin/totemPlugin.cpp: - Don't destroy stream when we don't have one. Bug #360959.
-rw-r--r--ChangeLog8
-rw-r--r--browser-plugin/totemPlugin.cpp3
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d620d1552..66604fd12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,12 @@
-2006-10-07 Christian Persch <chpe@cvs.gnome.org>
+2006-10-11 Christian Persch <chpe@cvs.gnome.org>
* browser-plugin/totemPlugin.cpp:
+ - Don't destroy stream when we don't have one. Bug #360959.
+
+2006-10-07 Christian Persch <chpe@cvs.gnome.org>
- Don't crash when printing a page with a plugin. Bug #360253.
+ * browser-plugin/totemPlugin.cpp:
+ - Don't crash when printing a page with a plugin. Bug #360253.
2006-10-04 Bastien Nocera <hadess@hadess.net>
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index b3cbd8a72..fc3ca4767 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -118,6 +118,9 @@ static void
cb_stop_sending_data (DBusGProxy *proxy,
totemPlugin *plugin)
{
+ if (!plugin->stream)
+ return;
+
D("Stop sending data signal received");
if (CallNPN_DestroyStreamProc (mozilla_functions.destroystream,
plugin->instance,