fix fd leak

This commit is contained in:
Troy D. Hanson
2014-07-02 00:55:21 -04:00
parent b9775b0a6e
commit 4d45c8b4e6

View File

@@ -241,6 +241,7 @@ void udp_status(UT_array *dirs) {
}
done:
if (fd != -1) close(fd);
utstring_free(s);
return;
}