Skip to content

gnome-language: Fix potential crash due to freeing unallocated memory

g_autofree support was added in commit 389a3761, but in this case if is_utf8 was NULL then this would free memory that wasn't allocated.

Note that the current code always has is_utf8 non-NULL, but this could break future code.

Merge request reports