commit 881b49115e4e37174b5250fe7e4780a536762ef2
Author: Daniele Forsi <dani...@forsi.it>
Date:   Fri Feb 15 12:14:24 2013 +0100

    Fix possible crasher
    
    When opening the About dialog for the second time, a variable pointed
    to freed memory.
    
    Fixes:
    (lt-gtkpod:13277): Gtk-WARNING **: Failed to set text from markup due to 
error parsing markup: Error on line 1 char 36: Invalid UTF-8 encoded text in 
name - not valid ' \xc5\xc5   h\xdd\xc3       '
    
    (lt-gtkpod:13277): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()

 src/anjuta-about.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/anjuta-about.c b/src/anjuta-about.c
index 112bbd5..988ff1b 100644
--- a/src/anjuta-about.c
+++ b/src/anjuta-about.c
@@ -142,6 +142,7 @@ static void about_free_credit(void) {
         g_free(ptr[i]);
 
     g_free(translators);
+    translators = NULL;
 }
 
 GtkWidget *about_box_new(GtkWindow *parent) {

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to