diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2007-09-09 20:44:38 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2007-09-09 20:44:38 +0000 |
commit | b92ca380fb9472e9d1975991a80e97e9a2bbbe52 (patch) | |
tree | 9dbcf37b7d65176bfe05b55b9700e080b3803430 /test/request.c | |
parent | 67a26b1e3fcc76bd6e636b4ed2d032df418a6a23 (diff) | |
download | neon-b92ca380fb9472e9d1975991a80e97e9a2bbbe52.tar.gz |
* test/request.c (status, status_chunked): Fix memory leak.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1251 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'test/request.c')
-rw-r--r-- | test/request.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/request.c b/test/request.c index 6c1b599..98db4e7 100644 --- a/test/request.c +++ b/test/request.c @@ -2030,7 +2030,9 @@ static int status(void) "recv(5,5)-" "disconnected(localhost)-", buf->data, "status events", "result"); - + + ne_buffer_destroy(buf); + return OK; } @@ -2064,6 +2066,8 @@ static int status_chunked(void) "recv(5,-1)-" "disconnected(localhost)-", buf->data, "status events", "result"); + + ne_buffer_destroy(buf); return OK; } |