projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6384dde
)
plug a memory leak in cgi processing
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 Jan 2013 00:20:54 +0000
(
01:20
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 Jan 2013 00:20:54 +0000
(
01:20
+0100)
proc.c
patch
|
blob
|
history
diff --git
a/proc.c
b/proc.c
index 4c40022258ada72651c40a3724f40da76fa09945..e37176d8f1fb39c31ddad349c0e802a171ee2b46 100644
(file)
--- a/
proc.c
+++ b/
proc.c
@@
-232,9
+232,10
@@
static void proc_write_close(struct client *cl)
static void proc_free(struct client *cl)
{
- blob_buf_free(&cl->hdr);
+ struct dispatch_proc *p = &cl->dispatch.proc;
+ blob_buf_free(&p->hdr);
proc_write_close(cl);
- uh_relay_free(&
cl->dispatch.proc.
r);
+ uh_relay_free(&
p->
r);
}
static void proc_write_cb(struct uloop_fd *fd, unsigned int events)