diff options
| author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-19 08:26:40 +0100 | 
|---|---|---|
| committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-19 08:26:40 +0100 | 
| commit | f0a95037ef13246b48f65b79e04292bc198c1279 (patch) | |
| tree | bed52f5e0c24032d21034371d6ec832101507449 /src/lib | |
| parent | badfde896217b1f1da3831872acbcda79f6b2cc9 (diff) | |
-fix memory leak
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/auditor_api_handle.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c index f7d7f9a7..a1ffe6c3 100644 --- a/src/lib/auditor_api_handle.c +++ b/src/lib/auditor_api_handle.c @@ -454,6 +454,7 @@ request_version (void *cls)                           &hr,                           NULL,                           TALER_AUDITOR_VC_PROTOCOL_ERROR); +    GNUNET_free (vr);      return;    }    GNUNET_log (GNUNET_ERROR_TYPE_INFO, @@ -467,6 +468,8 @@ request_version (void *cls)      auditor->retry_task = GNUNET_SCHEDULER_add_delayed (auditor->retry_delay,                                                          &request_version,                                                          auditor); +    GNUNET_free (vr->url); +    GNUNET_free (vr);      return;    }    GNUNET_break (CURLE_OK == | 
