diff options
Diffstat (limited to 'src/identity')
-rw-r--r-- | src/identity/plugin_rest_identity.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c index 33804143d..6044d0641 100644 --- a/src/identity/plugin_rest_identity.c +++ b/src/identity/plugin_rest_identity.c | |||
@@ -241,7 +241,10 @@ cleanup_handle (struct RequestHandle *handle) | |||
241 | if (NULL != handle->name) | 241 | if (NULL != handle->name) |
242 | GNUNET_free (handle->name); | 242 | GNUNET_free (handle->name); |
243 | if (NULL != handle->timeout_task) | 243 | if (NULL != handle->timeout_task) |
244 | { | ||
244 | GNUNET_SCHEDULER_cancel (handle->timeout_task); | 245 | GNUNET_SCHEDULER_cancel (handle->timeout_task); |
246 | handle->timeout_task = NULL; | ||
247 | } | ||
245 | if (NULL != handle->identity_handle) | 248 | if (NULL != handle->identity_handle) |
246 | GNUNET_IDENTITY_disconnect (handle->identity_handle); | 249 | GNUNET_IDENTITY_disconnect (handle->identity_handle); |
247 | if (NULL != handle->subsys) | 250 | if (NULL != handle->subsys) |