xxxgtk_textview_get_text returns a char* which must be freed

This commit is contained in:
Christopher Lam 2022-10-18 09:39:38 +08:00
parent d27de50c35
commit 026c795c82

View File

@ -1300,6 +1300,7 @@ gnc_plugin_page_budget_cmd_budget_note(GtkAction *action,
if (!strlen(txt))
txt = NULL;
gnc_budget_set_account_period_note(priv->budget, acc, period_num, txt);
g_free (txt);
break;
default:
break;