View Issue Details

IDProjectCategoryView StatusLast Update
0009628Talermerchant backendpublic2025-03-19 01:48
Reporterfefe Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version1.0Fixed in Version1.0 
Summary0009628: pending_deposits_cb: memory leak
DescriptionIn taler-merchant-depositcheck.c:

   611 struct ExchangeInteraction *w
   612 = GNUNET_new (struct ExchangeInteraction);

   615 if (GNUNET_TIME_absolute_is_future (wire_deadline))
   616 {
   617 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
   618 "Pending deposit has deadline in the future at %s\n",
   619 GNUNET_TIME_absolute2s (wire_deadline));
   620 run_at (wire_deadline);
   621 return;

You forgot to free w before returning.
Alternatively you could only allocate w after this check.
TagsNo tags attached.

Activities

Christian Grothoff

2025-03-19 01:48

manager   ~0024237

Fixed in f032988cdb64f3e6424ff60321245979d2603d24

Issue History

Date Modified Username Field Change
2025-03-18 12:55 fefe New Issue
2025-03-18 12:55 fefe Status new => assigned
2025-03-18 12:55 fefe Assigned To => Christian Grothoff
2025-03-19 01:48 Christian Grothoff Note Added: 0024237
2025-03-19 01:48 Christian Grothoff Status assigned => resolved
2025-03-19 01:48 Christian Grothoff Resolution open => fixed
2025-03-19 01:48 Christian Grothoff Fixed in Version => 1.0
2025-03-19 01:48 Christian Grothoff Product Version => git (master)
2025-03-19 01:48 Christian Grothoff Target Version => 1.0
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend