]> saetta.ns0.it Git - libgtkform/commitdiff
Bugfix.
authorAndrea Zagli <azagli@libero.it>
Sat, 1 Oct 2011 10:41:40 +0000 (12:41 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 1 Oct 2011 10:41:40 +0000 (12:41 +0200)
libgtkform/fieldfloat.c

index 3f0ec297129b382158ebdad4aa355f7980633249..b4e82d839bb53a8b6735e030d4c1288034f64683 100644 (file)
@@ -376,13 +376,11 @@ gtk_form_field_float_is_valid (GtkFormField *field)
                                        if (g_strcmp0 (g_strdup_printf ("%f", dbl_value), g_strdup_printf (g_strconcat ("%s", (str_comma == NULL ? "," : ""), str_format, NULL), str_value, 0)) != 0)
                                                {
                                                        g_free (str_value);
-                                                       g_free (str_comma);
                                                        g_free (str_format);
                                                        return FALSE;
                                                }
 
                                        g_free (str_value);
-                                       g_free (str_comma);
                                        g_free (str_format);
                                }
                }