mirror of
https://github.com/JHUAPL/kvspool.git
synced 2026-01-08 15:14:02 -05:00
fix fd leak
This commit is contained in:
@@ -241,6 +241,7 @@ void udp_status(UT_array *dirs) {
|
||||
}
|
||||
|
||||
done:
|
||||
if (fd != -1) close(fd);
|
||||
utstring_free(s);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user