-fix memory leak
This commit is contained in:
parent
badfde8962
commit
f0a95037ef
@ -454,6 +454,7 @@ request_version (void *cls)
|
|||||||
&hr,
|
&hr,
|
||||||
NULL,
|
NULL,
|
||||||
TALER_AUDITOR_VC_PROTOCOL_ERROR);
|
TALER_AUDITOR_VC_PROTOCOL_ERROR);
|
||||||
|
GNUNET_free (vr);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
@ -467,6 +468,8 @@ request_version (void *cls)
|
|||||||
auditor->retry_task = GNUNET_SCHEDULER_add_delayed (auditor->retry_delay,
|
auditor->retry_task = GNUNET_SCHEDULER_add_delayed (auditor->retry_delay,
|
||||||
&request_version,
|
&request_version,
|
||||||
auditor);
|
auditor);
|
||||||
|
GNUNET_free (vr->url);
|
||||||
|
GNUNET_free (vr);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GNUNET_break (CURLE_OK ==
|
GNUNET_break (CURLE_OK ==
|
||||||
|
Loading…
Reference in New Issue
Block a user