From 999f46ed1d80bca5d800ef0492afd181ce0cca70 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 29 Jan 2015 14:58:00 +1100 Subject: [PATCH] Deep copy json method in create_json_params in case a non-standard request is made --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index a349b46a..b6370468 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -3145,7 +3145,7 @@ static json_params_t { json_params_t *jp = ckalloc(sizeof(json_params_t)); - jp->method = json_copy(method); + jp->method = json_deep_copy(method); jp->params = json_deep_copy(params); jp->id_val = json_deep_copy(id_val); jp->client_id = client_id;