X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-autorecode.c;h=ed82bce8e293e966e3f468fbbe069f7a61f29a04;hb=51cf173b5eaaa8c5cc6233f9c8924eb44498e89d;hp=77376d6e6734150209a418c33a75585af6f182e3;hpb=96994a54e60e9c95b8bba54c2281acf7059b1203;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-autorecode.c b/src/ui/gui/psppire-dialog-action-autorecode.c index 77376d6e67..ed82bce8e2 100644 --- a/src/ui/gui/psppire-dialog-action-autorecode.c +++ b/src/ui/gui/psppire-dialog-action-autorecode.c @@ -194,6 +194,7 @@ on_change_clicked (GObject *obj, gpointer data) finish: g_list_foreach (rows, (GFunc) gtk_tree_path_free, NULL); g_list_free (rows); + var_unref (var); } @@ -205,7 +206,7 @@ on_entry_change (PsppireDialogActionAutorecode *rd) if (0 == strcmp ("", text)) valid = FALSE; - else if (psppire_dict_lookup_var (rd->dict, text)) + else if (psppire_dict_lookup_var (PSPPIRE_DIALOG_ACTION (rd)->dict, text)) valid = FALSE; else {