X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.c;h=8e616716835a76e6422ad1632614fde5d70f4dd0;hb=43a6e90b100a8ac6b319af9198754157e4643220;hp=bc197e63adcd2a7c7416a7b1da41f19522ed22ae;hpb=e598cda225c4f98025ec43b72eb1a9dd691b77cd;p=pspp-builds.git diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index bc197e63..8e616716 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -91,7 +91,7 @@ text_to_value (const gchar *text, union value *v, } msg_disable (); - ok = data_in (ss_cstr (text), LEGACY_NATIVE, format.type, 0, 0, + ok = data_in (ss_cstr (text), LEGACY_NATIVE, format.type, 0, 0, 0, v, fmt_var_width (&format)); msg_enable (); @@ -149,6 +149,8 @@ connect_help (GladeXML *xml) GList *i; for ( i = g_list_first (helps); i ; i = g_list_next (i)) g_signal_connect (GTK_WIDGET (i->data), "clicked", give_help, 0); + + g_list_free (helps); }