diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-26 14:01:48 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-26 14:01:48 +0800 |
commit | 9481caeac4bc2b613539c3964b4fe3d284da3aae (patch) | |
tree | f034ad0e65befa8993846b2c1a6e702136cfd8c9 /accessibility/dasher | |
parent | f42bfc1a2b8eb3d4d4aac908bc335f168abeee60 (diff) | |
download | marcuscom-ports-9481caeac4bc2b613539c3964b4fe3d284da3aae.tar.gz marcuscom-ports-9481caeac4bc2b613539c3964b4fe3d284da3aae.tar.zst marcuscom-ports-9481caeac4bc2b613539c3964b4fe3d284da3aae.zip |
Be more aggressive when checking if we need to free voices. This fixes a
crash on quit.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3708 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility/dasher')
-rw-r--r-- | accessibility/dasher/Makefile | 2 | ||||
-rw-r--r-- | accessibility/dasher/files/patch-Src_Gtk2_speech.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/dasher/Makefile b/accessibility/dasher/Makefile index 43def7422..35ff6c55c 100644 --- a/accessibility/dasher/Makefile +++ b/accessibility/dasher/Makefile @@ -7,7 +7,7 @@ PORTNAME= dasher PORTVERSION= 3.2.13 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= accessibility editors x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/3.2 diff --git a/accessibility/dasher/files/patch-Src_Gtk2_speech.cc b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc index 62e4675df..05d3c3b83 100644 --- a/accessibility/dasher/files/patch-Src_Gtk2_speech.cc +++ b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc @@ -1,11 +1,11 @@ ---- Src/Gtk2/speech.cc.orig Wed Feb 23 02:30:15 2005 -+++ Src/Gtk2/speech.cc Wed Feb 23 02:30:44 2005 +--- Src/Gtk2/speech.cc.orig Fri Sep 17 06:53:53 2004 ++++ Src/Gtk2/speech.cc Sat Feb 26 01:00:12 2005 @@ -78,7 +78,8 @@ void teardown_speech() { bonobo_object_release_unref (speaker, NULL); - CORBA_free (voices); -+ if (voices != NULL && voices->_length != 0) ++ if (voices != NULL && !BONOBO_EX (&ev) && voices->_length != 0) + CORBA_free (voices); CORBA_exception_free (&ev); |