summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_parsing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-09 22:10:14 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-09 22:10:14 +0200
commitbe535b68e1c5911c9ec011a0d24714d0f4b42377 (patch)
treef3105779d95265b4ebdaa8aff735bad31cc22d71 /src/mint/taler-mint-httpd_parsing.c
parentbe778784ea2ceaf609426041c5ac3a0241ea242e (diff)
downloadexchange-be535b68e1c5911c9ec011a0d24714d0f4b42377.tar.gz
exchange-be535b68e1c5911c9ec011a0d24714d0f4b42377.tar.bz2
exchange-be535b68e1c5911c9ec011a0d24714d0f4b42377.zip
fix a few pointer passing issues, add remark about #3886
Diffstat (limited to 'src/mint/taler-mint-httpd_parsing.c')
-rw-r--r--src/mint/taler-mint-httpd_parsing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_parsing.c b/src/mint/taler-mint-httpd_parsing.c
index b29cdeabf..0f31e8652 100644
--- a/src/mint/taler-mint-httpd_parsing.c
+++ b/src/mint/taler-mint-httpd_parsing.c
@@ -273,6 +273,7 @@ TMH_PARSE_post_json (struct MHD_Connection *connection,
? GNUNET_SYSERR : GNUNET_NO;
}
/* everything OK, wait for more POST data */
+ fprintf (stderr, "Init %p\n", r);
*upload_data_size = 0;
*con_cls = r;
return GNUNET_YES;
@@ -314,6 +315,8 @@ TMH_PARSE_post_json (struct MHD_Connection *connection,
TMH_RESPONSE_reply_invalid_json (connection))
? GNUNET_NO : GNUNET_SYSERR;
}
+ fprintf (stderr, "Deinit %p\n", r);
+
buffer_deinit (r);
GNUNET_free (r);
*con_cls = NULL;