1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

ctdb-client: Release the g_lock record once the update is done

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2016-04-19 15:35:55 +10:00 committed by Martin Schwenke
parent 4ff8f60307
commit da03f5883e

View File

@ -1322,6 +1322,7 @@ static void ctdb_g_lock_lock_process_locks(struct tevent_req *req)
return;
}
TALLOC_FREE(state->h);
tevent_req_done(req);
}
@ -1521,6 +1522,7 @@ static void ctdb_g_lock_unlock_fetched(struct tevent_req *subreq)
return;
}
TALLOC_FREE(state->h);
tevent_req_done(req);
}
@ -1583,6 +1585,7 @@ static void ctdb_g_lock_unlock_deleted(struct tevent_req *subreq)
return;
}
TALLOC_FREE(state->h);
tevent_req_done(req);
}