From f398b34414e3dbde31c0ec4b627aaa7ccf593ee0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 16 Jan 2015 14:04:02 +0100 Subject: adding logic to free buffers allocated for POST processing when connection dies without completion --- src/mint/taler-mint-httpd_refresh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mint/taler-mint-httpd_refresh.c') diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c index 73b47419..83225fc1 100644 --- a/src/mint/taler-mint-httpd_refresh.c +++ b/src/mint/taler-mint-httpd_refresh.c @@ -606,7 +606,7 @@ TALER_MINT_handler_refresh_melt (struct RequestHandler *rh, struct GNUNET_HashContext *hash_context; struct GNUNET_HashCode melt_hash; - res = process_post_json (connection, + res = TALER_MINT_parse_post_json (connection, connection_cls, upload_data, upload_data_size, &root); @@ -823,7 +823,7 @@ TALER_MINT_handler_refresh_commit (struct RequestHandler *rh, struct GNUNET_HashContext *hash_context; json_t *root; - res = process_post_json (connection, + res = TALER_MINT_parse_post_json (connection, connection_cls, upload_data, upload_data_size, &root); @@ -1159,7 +1159,7 @@ TALER_MINT_handler_refresh_reveal (struct RequestHandler *rh, int j; json_t *root; - res = process_post_json (connection, + res = TALER_MINT_parse_post_json (connection, connection_cls, upload_data, upload_data_size, &root); -- cgit v1.2.3