fix memoery leak in uwsgi_setns

Reported by Coverity as CID #1296721
This commit is contained in:
Riccardo Magliocchetti
2015-05-05 14:21:27 +02:00
parent 42ac14449c
commit 7151bf4480
+1
View File
@@ -4454,6 +4454,7 @@ void uwsgi_setns(char *path) {
}
}
free(fds);
close(ns_fd);
break;
}
if (fds)