commit cc81e77cd7f4d5e8b93d2af3eb63f392635d8845
parent aab6d71edc0f21e7458e86395a503b998a481458
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 30 Aug 2025 23:52:09 +0200
-fix memory leak
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/backenddb/merchantdb_helper.c b/src/backenddb/merchantdb_helper.c
@@ -28,6 +28,7 @@ void
TALER_MERCHANTDB_product_details_free (
struct TALER_MERCHANTDB_ProductDetails *pd)
{
+ GNUNET_free (pd->product_name);
GNUNET_free (pd->description);
json_decref (pd->description_i18n);
pd->description_i18n = NULL;