Networking (Linux): fixes possible memleaks

This commit is contained in:
李通洲 committed 2026-09-21 20:13:56 +08:00
1 parent 256c6a4257
commit 2f74d6be4d
1 file changed
+2
+2
View File
@@ -322,6 +322,8 @@ error:
close(state->sockfd);
state->sockfd = -1;
}
ffStrbufClear(&state->command);
return ret;
}