summaryrefslogtreecommitdiff
path: root/ifilter.c
diff options
context:
space:
mode:
authorStefan Esser2012-02-12 10:57:47 +0100
committerStefan Esser2012-02-12 10:57:47 +0100
commitfbab5b88bc9edecb26ede9bc3bf94331af2e559e (patch)
treec1aefd08ab5ad4d52d8e10c8703b0d79591e21df /ifilter.c
parenta20e7b6842d95de535da4448bd4302dedf23d25d (diff)
We are aware of this memory leak
Diffstat (limited to 'ifilter.c')
-rw-r--r--ifilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ifilter.c b/ifilter.c
index 19f1457..c23b304 100644
--- a/ifilter.c
+++ b/ifilter.c
@@ -195,6 +195,7 @@ static void suhosin_server_encode(HashTable *arr, char *key, int klen)
195 } 195 }
196 *n = 0; 196 *n = 0;
197 197
198 /* XXX: we leak memory here, but only for the duration of the request */
198 Z_STRVAL_PP(tzval) = (char *)newv; 199 Z_STRVAL_PP(tzval) = (char *)newv;
199 Z_STRLEN_PP(tzval) = n-newv; 200 Z_STRLEN_PP(tzval) = n-newv;
200 } 201 }