diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-products.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-products.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-products.c b/src/backend/taler-merchant-httpd_private-post-products.c index 5b783519..c9ce24a6 100644 --- a/src/backend/taler-merchant-httpd_private-post-products.c +++ b/src/backend/taler-merchant-httpd_private-post-products.c @@ -159,6 +159,7 @@ TMH_private_post_products (const struct TMH_RequestHandler *rh, if (products_equal (&pd, &epd)) { + TALER_MERCHANTDB_product_details_free (&epd); TMH_db->rollback (TMH_db->cls); GNUNET_JSON_parse_free (spec); return TALER_MHD_reply_static (connection, @@ -169,6 +170,7 @@ TMH_private_post_products (const struct TMH_RequestHandler *rh, } else { + TALER_MERCHANTDB_product_details_free (&epd); TMH_db->rollback (TMH_db->cls); GNUNET_JSON_parse_free (spec); return TALER_MHD_reply_with_error (connection, |