diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2015-09-15 10:09:58 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2015-09-15 10:09:58 +0000 |
commit | 34da67bc38727903c39136db9e17a804f172f3b7 (patch) | |
tree | a93f8921186918c0758f2fe48d5c37426b1ca29a /src/rest | |
parent | 120fbd80a09ff7b4b934572c5ee295bf75b7046b (diff) | |
download | gnunet-34da67bc38727903c39136db9e17a804f172f3b7.tar.gz gnunet-34da67bc38727903c39136db9e17a804f172f3b7.zip |
- fix leaks, add token list
Diffstat (limited to 'src/rest')
-rw-r--r-- | src/rest/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest/rest.c b/src/rest/rest.c index 95a5d0605..d04bfdee1 100644 --- a/src/rest/rest.c +++ b/src/rest/rest.c | |||
@@ -305,10 +305,10 @@ GNUNET_REST_jsonapi_object_delete (struct JsonApiObject *resp) | |||
305 | for (res = resp->res_list_head; | 305 | for (res = resp->res_list_head; |
306 | res != NULL;) | 306 | res != NULL;) |
307 | { | 307 | { |
308 | res_next = res->next; | ||
308 | GNUNET_CONTAINER_DLL_remove (resp->res_list_head, | 309 | GNUNET_CONTAINER_DLL_remove (resp->res_list_head, |
309 | resp->res_list_tail, | 310 | resp->res_list_tail, |
310 | res); | 311 | res); |
311 | res_next = res->next; | ||
312 | GNUNET_REST_jsonapi_resource_delete (res); | 312 | GNUNET_REST_jsonapi_resource_delete (res); |
313 | res = res_next; | 313 | res = res_next; |
314 | } | 314 | } |