summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_refresh.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-16 14:04:02 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-16 14:04:02 +0100
commitf398b34414e3dbde31c0ec4b627aaa7ccf593ee0 (patch)
treecc860a395f2799e28caf02cc72707f0c6a3ec940 /src/mint/taler-mint-httpd_refresh.c
parentf58fb4fc21be694096ae223fe0990ab93a52e815 (diff)
downloadexchange-f398b34414e3dbde31c0ec4b627aaa7ccf593ee0.tar.gz
exchange-f398b34414e3dbde31c0ec4b627aaa7ccf593ee0.tar.bz2
exchange-f398b34414e3dbde31c0ec4b627aaa7ccf593ee0.zip
adding logic to free buffers allocated for POST processing when connection dies without completion
Diffstat (limited to 'src/mint/taler-mint-httpd_refresh.c')
-rw-r--r--src/mint/taler-mint-httpd_refresh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c
index 73b474194..83225fc15 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);