mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 07:44:06 +01:00
Networking (Linux): fixes possible memleaks
This commit is contained in:
@@ -322,6 +322,8 @@ error:
|
||||
close(state->sockfd);
|
||||
state->sockfd = -1;
|
||||
}
|
||||
|
||||
ffStrbufClear(&state->command);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user