aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-13 02:08:53 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-13 02:08:53 +0200
commit5d2cd01db0fd432a2110421f8dcdabc7ad8676e1 (patch)
tree094e227fddbdfb42e5a0cfcd2a5d425dda88d0c0
parentee79249d23244bef4f18f542f28c465f9f50c77f (diff)
downloadjson-rpc-shell-5d2cd01db0fd432a2110421f8dcdabc7ad8676e1.tar.gz
json-rpc-shell-5d2cd01db0fd432a2110421f8dcdabc7ad8676e1.tar.xz
json-rpc-shell-5d2cd01db0fd432a2110421f8dcdabc7ad8676e1.zip
json-rpc-test-server: fix a potential memory leak
-rw-r--r--json-rpc-test-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/json-rpc-test-server.c b/json-rpc-test-server.c
index 2031034..7a76807 100644
--- a/json-rpc-test-server.c
+++ b/json-rpc-test-server.c
@@ -329,6 +329,7 @@ fcgi_muxer_on_get_values
nv_parser.output = &values;
fcgi_nv_parser_push (&nv_parser, parser->content.str, parser->content.len);
+ fcgi_nv_parser_free (&nv_parser);
const char *key = NULL;
// No real-world servers seem to actually use multiplexing