mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 11:56:21 +00:00
Adapt to new g_string_free() usage
Somehow this must have been overlooked when doing
e59c401c84.
This commit is contained in:
@@ -514,10 +514,7 @@ chatwin_get_string(ProfChatWin* chatwin)
|
||||
g_string_append_printf(res, ", %d unread", chatwin->unread);
|
||||
}
|
||||
|
||||
char* resstr = res->str;
|
||||
g_string_free(res, FALSE);
|
||||
|
||||
return resstr;
|
||||
return g_string_free(res, FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user