View Issue Details

IDProjectCategoryView StatusLast Update
0008222Talerexchangepublic2024-03-07 20:47
Reporterfefe Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9.4Fixed in Version0.9.4 
Summary0008222: TALER_EXCHANGE_purse_deposit: memory leak
DescriptionThis is in exchange/src/lib/exchange_api_purse_deposit.c:

370 pch = GNUNET_new (struct TALER_EXCHANGE_PurseDepositHandle);

389 pch->url = TALER_url_join (url,
390 arg_str,
391 NULL);

398 deposit_arr = json_array ();

400 pch->base_url = GNUNET_strdup (url);

402 pch->coins = GNUNET_new_array (num_deposits,
403 struct Coin);

423 {
424 GNUNET_break (0);
425 json_decref (deposit_arr);
426 GNUNET_free (pch->base_url);
427 GNUNET_free (pch->coins);
428 GNUNET_free (pch);
429 return NULL;
430 }

This looks like it is missing a GNUNET_free(pch->url);
TagsNo tags attached.

Relationships

child of 0008112 assignedfefe Merchant security review 

Activities

Christian Grothoff

2024-01-23 16:59

manager   ~0020989

Fixed in 564d1e4d..3f88a5c6

Issue History

Date Modified Username Field Change
2024-01-23 14:53 fefe New Issue
2024-01-23 14:53 fefe Status new => assigned
2024-01-23 14:53 fefe Assigned To => Christian Grothoff
2024-01-23 14:53 fefe Relationship added child of 0008112
2024-01-23 16:59 Christian Grothoff Status assigned => resolved
2024-01-23 16:59 Christian Grothoff Resolution open => fixed
2024-01-23 16:59 Christian Grothoff Fixed in Version => 0.9.4
2024-01-23 16:59 Christian Grothoff Note Added: 0020989
2024-01-23 17:05 Christian Grothoff Product Version => git (master)
2024-01-23 17:05 Christian Grothoff Target Version => 0.9.4
2024-03-07 20:47 Christian Grothoff Status resolved => closed