diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-17 11:50:37 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-17 11:50:37 +0100 |
commit | 8d8779e945cb8537e8ce669eae1c36390766e9ff (patch) | |
tree | ebff849ecec8197d073f6bc893f8c0c471ab7a4d /src/include | |
parent | 45894549eb25b4e769724243817b16d67ed39b78 (diff) | |
download | merchant-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.h | 9 |
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 */ |