diff options
Diffstat (limited to 'accessibility/dasher/files/patch-Src_Gtk2_speech.cc')
-rw-r--r-- | accessibility/dasher/files/patch-Src_Gtk2_speech.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/accessibility/dasher/files/patch-Src_Gtk2_speech.cc b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc index 05d3c3b835fd..7622867dbd57 100644 --- a/accessibility/dasher/files/patch-Src_Gtk2_speech.cc +++ b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc @@ -1,12 +1,12 @@ ---- 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 @@ +--- Src/Gtk2/speech.cc.orig Fri Aug 19 09:57:44 2005 ++++ Src/Gtk2/speech.cc Mon Aug 22 20:23:21 2005 +@@ -78,7 +78,8 @@ void setup_speech() { void teardown_speech() { bonobo_object_release_unref (speaker, NULL); - CORBA_free (voices); + if (voices != NULL && !BONOBO_EX (&ev) && voices->_length != 0) -+ CORBA_free (voices); ++ CORBA_free (voices); + GNOME_Speech_SynthesisDriver_unref(rv, &ev); CORBA_exception_free (&ev); - } |