Module Name: src
Committed By: christos
Date: Wed Nov 13 21:44:29 UTC 2013
Modified Files:
src/libexec/httpd: lua-bozo.c
Log Message:
CID 1107546: Fix memory leak
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/libexec/httpd/lua-bozo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/httpd/lua-bozo.c
diff -u src/libexec/httpd/lua-bozo.c:1.5 src/libexec/httpd/lua-bozo.c:1.6
--- src/libexec/httpd/lua-bozo.c:1.5 Thu Oct 17 04:07:54 2013
+++ src/libexec/httpd/lua-bozo.c Wed Nov 13 16:44:29 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: lua-bozo.c,v 1.5 2013/10/17 08:07:54 mbalmer Exp $ */
+/* $NetBSD: lua-bozo.c,v 1.6 2013/11/13 21:44:29 christos Exp $ */
/*
* Copyright (c) 2013 Marc Balmer <[email protected]>
@@ -438,12 +438,14 @@ bozo_process_lua(bozo_httpreq_t *request
free(prefix);
free(uri);
free(info);
+ free(query);
return 1;
}
}
free(prefix);
free(uri);
free(info);
+ free(query);
return 0;
}