Don't do 'something = str->str; g_string_free (str, FALSE);'

master
Yevgen Muntyan 2006-06-01 02:08:29 -05:00
parent 91ef78351d
commit cdd6f59f64
1 changed files with 1 additions and 2 deletions

View File

@ -1024,8 +1024,7 @@ moo_config_parse_lines (MooConfig *config,
g_string_append_c (str, '\n');
}
item->content = str->str;
g_string_free (str, FALSE);
item->content = g_string_free (str, FALSE);
g_ptr_array_set_size (content, 0);
}