Skip to content

Utilize g_string_set_size() and g_string_assign()

Insead of calling g_string_free (x, TRUE);x = g_string_new (z) call g_string_assign (z).

Likewise g_string_free (x, TRUE);x = g_string_new ("");g_string_set_size (0);.

Merge request reports