diff options
| author | Stefan Esser | 2012-02-12 10:57:47 +0100 |
|---|---|---|
| committer | Stefan Esser | 2012-02-12 10:57:47 +0100 |
| commit | fbab5b88bc9edecb26ede9bc3bf94331af2e559e (patch) | |
| tree | c1aefd08ab5ad4d52d8e10c8703b0d79591e21df | |
| parent | a20e7b6842d95de535da4448bd4302dedf23d25d (diff) | |
We are aware of this memory leak
| -rw-r--r-- | ifilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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 | } |
