aboutsummaryrefslogtreecommitdiff
path: root/src/lockmanager
diff options
context:
space:
mode:
authorharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-05-16 11:59:35 +0000
committerharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-05-16 11:59:35 +0000
commitbb084c0c4e8534de036c805a2e63066a4aaa9310 (patch)
treef222fa3c4cf99836393928db2185c17cc17759ab /src/lockmanager
parent315c619b9eae1601d0a775cbcfb9f3b22f90ffe3 (diff)
-fixed freed memory access bug
git-svn-id: https://gnunet.org/svn/gnunet@21523 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/lockmanager')
-rw-r--r--src/lockmanager/gnunet-service-lockmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockmanager/gnunet-service-lockmanager.c b/src/lockmanager/gnunet-service-lockmanager.c
index b19cef0f12..828915e70c 100644
--- a/src/lockmanager/gnunet-service-lockmanager.c
+++ b/src/lockmanager/gnunet-service-lockmanager.c
@@ -782,8 +782,8 @@ client_disconnect_cb (void *cls, struct GNUNET_SERVER_Client *client)
return;
while (NULL != (ll_entry = cl_entry->ll_head))
{
- process_lock_release (ll_entry->lock);
cl_ll_remove_lock (cl_entry, ll_entry);
+ process_lock_release (ll_entry->lock);
}
cl_remove_client (cl_entry);
}