View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008202 | Taler | exchange | public | 2024-01-22 15:49 | 2024-03-07 20:47 |
Reporter | fefe | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
Summary | 0008202: TALER_EXCHANGE_management_revoke_signing_key: memory leak | ||||
Description | This is in exchange/src/lib/exchange_api_management_revoke_signing_key.c: 157 if (NULL == rh->url) 158 { 159 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 160 "Could not construct request URL.\n"); 161 GNUNET_free (rh); 162 return NULL; 163 } 164 body = GNUNET_JSON_PACK ( 165 GNUNET_JSON_pack_data_auto ("master_sig", 166 master_sig)); 167 eh = TALER_EXCHANGE_curl_easy_get_ (rh->url); 168 if ( (NULL == eh) || 169 (GNUNET_OK != 170 TALER_curl_easy_post (&rh->post_ctx, 171 eh, 172 body)) ) 173 { 174 GNUNET_break (0); 175 if (NULL != eh) 176 curl_easy_cleanup (eh); 177 json_decref (body); 178 GNUNET_free (rh->url); 179 return NULL; 180 } It looks like a GNUNET_free(rh) is missing in the lower cleanup clause. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-22 15:49 | fefe | New Issue | |
2024-01-22 15:49 | fefe | Status | new => assigned |
2024-01-22 15:49 | fefe | Assigned To | => Christian Grothoff |
2024-01-22 17:01 | Christian Grothoff | Relationship added | child of 0008112 |
2024-01-22 17:03 | Christian Grothoff | Status | assigned => resolved |
2024-01-22 17:03 | Christian Grothoff | Resolution | open => fixed |
2024-01-22 17:03 | Christian Grothoff | Fixed in Version | => 0.9.4 |
2024-01-22 17:03 | Christian Grothoff | Note Added: 0020959 | |
2024-01-22 17:04 | Christian Grothoff | Product Version | => git (master) |
2024-01-22 17:04 | Christian Grothoff | Target Version | => 0.9.4 |
2024-03-07 20:47 | Christian Grothoff | Status | resolved => closed |