[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 23/51: fix memory management in case of error
From: |
gnunet |
Subject: |
[taler-merchant] 23/51: fix memory management in case of error |
Date: |
Thu, 13 Jun 2024 17:03:32 +0200 |
This is an automated email from the git hooks/post-receive script.
christian-blaettler pushed a commit to branch master
in repository merchant.
commit e83caaa1ce76a7d1801b016beafb88a1a564dd73
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Fri Apr 26 09:29:51 2024 +0200
fix memory management in case of error
---
src/backenddb/pg_lookup_token_family_key.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/backenddb/pg_lookup_token_family_key.c
b/src/backenddb/pg_lookup_token_family_key.c
index fc1045df..33fc0b27 100644
--- a/src/backenddb/pg_lookup_token_family_key.c
+++ b/src/backenddb/pg_lookup_token_family_key.c
@@ -155,9 +155,10 @@ TMH_PG_lookup_token_family_key (void *cls,
GNUNET_break (0);
return GNUNET_DB_STATUS_HARD_ERROR;
}
- }
- GNUNET_free (kind);
+ if (NULL != kind)
+ GNUNET_free (kind);
+ }
return qs;
}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] 16/51: pay: fetch and parse choices from db, (continued)
- [taler-merchant] 16/51: pay: fetch and parse choices from db, gnunet, 2024/06/13
- [taler-merchant] 02/51: fix compiler warning, gnunet, 2024/06/13
- [taler-merchant] 01/51: add choice_index to private get orders id, gnunet, 2024/06/13
- [taler-merchant] 05/51: fix hash length constraint, gnunet, 2024/06/13
- [taler-merchant] 06/51: check hash before inserting, gnunet, 2024/06/13
- [taler-merchant] 11/51: proper date rounding & fix db key extraction, gnunet, 2024/06/13
- [taler-merchant] 04/51: use better error code, gnunet, 2024/06/13
- [taler-merchant] 24/51: extend merchant lib to allow tokens as inputs, gnunet, 2024/06/13
- [taler-merchant] 13/51: parse tokens in pay handler, gnunet, 2024/06/13
- [taler-merchant] 07/51: remove todo, gnunet, 2024/06/13
- [taler-merchant] 23/51: fix memory management in case of error,
gnunet <=
- [taler-merchant] 12/51: rename keys, gnunet, 2024/06/13
- [taler-merchant] 15/51: fix serialized json format of choices, gnunet, 2024/06/13
- [taler-merchant] 14/51: fix timestamp in order creation test, gnunet, 2024/06/13
- [taler-merchant] 22/51: fix choices length check, gnunet, 2024/06/13
- [taler-merchant] 09/51: adapt to changed spec and fix key handling, gnunet, 2024/06/13
- [taler-merchant] 18/51: rename signature, gnunet, 2024/06/13
- [taler-merchant] 10/51: fix choice index type, gnunet, 2024/06/13
- [taler-merchant] 17/51: work on pay handler, gnunet, 2024/06/13
- [taler-merchant] 19/51: parse and hash wallet data in pay handler, gnunet, 2024/06/13
- [taler-merchant] 08/51: add new migration to makefile, gnunet, 2024/06/13