Permalink
Browse files

fixed memory leak on decoded_uri

  • Loading branch information...
1 parent 3be2830 commit d175487f3a3cd733686e1be4b8b1aaf8f3c23177 @sekimura committed Oct 17, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 evpsgi.c
View
@@ -225,6 +225,7 @@ SV* new_env(struct evhttp_request *req) {
/* psgi.nonblocking */
hv_store(env, "psgi.nonblocking", 16, newSViv(1), 0);
+ free(decoded_uri);
return newRV_inc((SV *) env);
}

0 comments on commit d175487

Please sign in to comment.