fixed a couple of leaks

This commit is contained in:
roberto@freebsd64
2011-02-03 11:10:16 +01:00
parent 6ca539497d
commit 2bacd79c43
+3
View File
@@ -1312,6 +1312,8 @@ PyObject *py_uwsgi_send_multi_message(PyObject * self, PyObject * args) {
}
}
free(buffer);
return retobject;
megamulticlear:
@@ -2098,6 +2100,7 @@ PyObject *py_uwsgi_parse_file(PyObject * self, PyObject * args) {
}
}
close(fd);
return zero;
}