aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8222452a5..99203cca8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-07-25 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/mozilla-embed-single.cpp:
+
+ Make sure we don't release the single observer more than
+ once.
+
+2004-07-25 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/EphyHeaderSniffer.cpp:
Disallow some more characters in the suggested filename.
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index d64397a4c..37aa55b79 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -507,6 +507,7 @@ mozilla_embed_single_dispose (GObject *object)
{
single->priv->mSingleObserver->Detach ();
NS_RELEASE (single->priv->mSingleObserver);
+ single->priv->mSingleObserver = nsnull;
}
}