summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2015-11-17 11:50:37 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2015-11-17 11:50:37 +0100
commit8d8779e945cb8537e8ce669eae1c36390766e9ff (patch)
treeebff849ecec8197d073f6bc893f8c0c471ab7a4d /src/include
parent45894549eb25b4e769724243817b16d67ed39b78 (diff)
downloadmerchant-8d8779e945cb8537e8ce669eae1c36390766e9ff.tar.gz
merchant-8d8779e945cb8537e8ce669eae1c36390766e9ff.tar.bz2
merchant-8d8779e945cb8537e8ce669eae1c36390766e9ff.zip
Depositing all the coins. Memory corruption when destroying the
MHD response object.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/merchant.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/merchant.h b/src/include/merchant.h
index 582c4cf1..eb430360 100644
--- a/src/include/merchant.h
+++ b/src/include/merchant.h
@@ -41,11 +41,18 @@
} while (0)
/**
- * Outcome of a /deposit request for a coin
+ * Outcome of a /deposit request for a coin. Typically forming an array enclosed
+ * into the unique PayContext
*/
struct MERCHANT_DepositConfirmation
{
/**
+ * Reference to the per-deposit-handler Context. Needed by the
+ * cleanup function to get it freed
+ */
+ struct DepositCallbackContext *dcc;
+
+ /**
* True if this coin's outcome has been read from
* its cb
*/