Skip to content

Commit 555e23e

Browse files
[gnucash-sheet] g_free strdup'd text
1 parent ec0d261 commit 555e23e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gnucash/register/register-gnome/gnucash-sheet.c

+2
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,8 @@ gnucash_sheet_insert_cb (GtkEditable *editable,
11041104
g_signal_stop_emission_by_name (G_OBJECT(sheet->entry),
11051105
"insert_text");
11061106
}
1107+
1108+
g_free (new_text);
11071109
}
11081110

11091111
static char*

0 commit comments

Comments
 (0)