From fbab5b88bc9edecb26ede9bc3bf94331af2e559e Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Sun, 12 Feb 2012 10:57:47 +0100 Subject: We are aware of this memory leak --- ifilter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ifilter.c') 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) } *n = 0; + /* XXX: we leak memory here, but only for the duration of the request */ Z_STRVAL_PP(tzval) = (char *)newv; Z_STRLEN_PP(tzval) = n-newv; } -- cgit v1.3