appliead Riccardo's patches

This commit is contained in:
roberto@precise64
2012-03-11 20:10:04 +01:00
parent 48175d0759
commit c4ce1cf7d8
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -164,7 +164,9 @@ char *uwsgi_amqp_consume(int fd, uint64_t *msgsize, char **routing_key) {
ptr = amqp_get_longlong(ptr, watermark, msgsize); if (!ptr) goto clear2;
free(frame);
frame = NULL;
free(header);
header = NULL;
char *fullbody = uwsgi_malloc(*msgsize);
char *message;
-1
View File
@@ -200,7 +200,6 @@ static int uwsgi_mongrel2_tnetstring_parse(struct wsgi_request *wsgi_req, char *
wsgi_req->async_post = fopen(post_filename, "r");
if (!wsgi_req->async_post) {
uwsgi_error_open(post_filename);
free(post_filename);
wsgi_req->do_not_log = 1;
}
async_upload += 2;