mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
replace str->str & g_string_free with g_string_free_and_steal
solving unused warning in GLib 2.76
This commit is contained in:
parent
995e77c30d
commit
8eee36d1ea
20 changed files with 73 additions and 78 deletions
|
|
@ -134,8 +134,7 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn)
|
|||
}
|
||||
g_free(tag);
|
||||
|
||||
tag = str->str;
|
||||
g_string_free(str, FALSE);
|
||||
tag = g_string_free(str, FALSE);
|
||||
return tag;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue