mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 19:36:21 +00:00
Cleanup g_strfreev() to auto_gcharv
Include some additional minor cleanups
This commit is contained in:
@@ -1319,10 +1319,9 @@ static void
|
||||
_cut(ProfMessage* message, const char* cut)
|
||||
{
|
||||
if (strstr(message->plain, cut)) {
|
||||
gchar** split = g_strsplit(message->plain, cut, -1);
|
||||
auto_gcharv gchar** split = g_strsplit(message->plain, cut, -1);
|
||||
free(message->plain);
|
||||
message->plain = g_strjoinv("", split);
|
||||
g_strfreev(split);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user