[gnc-split-reg] free tooltip text properly

This commit is contained in:
Christopher Lam 2022-07-30 13:39:20 +08:00
parent 67a1b7a873
commit 45aac53952

View File

@ -744,9 +744,8 @@ gsr_redraw_all_cb (GnucashRegister *g_reg, gpointer data)
gtk_widget_set_tooltip_text (GTK_WIDGET(gsr->filter_label), gsr->filter_text);
if (old_tt_text)
g_free (old_tt_text);
}
g_free (old_tt_text);
}
if (gsr->shares_label == NULL && gsr->value_label == NULL)