Skip to content

Commit

Permalink
appliead Riccardo's patches
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto@precise64 committed Mar 11, 2012
1 parent 48175d0 commit c4ce1cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/amqp.c
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion proto/zeromq.c
Expand Up @@ -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;
Expand Down

0 comments on commit c4ce1cf

Please sign in to comment.