diff options
-rw-r--r-- | p11-kit/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c index 891ce4c..39e1fda 100644 --- a/p11-kit/modules.c +++ b/p11-kit/modules.c @@ -1647,7 +1647,7 @@ managed_steal_sessions_inlock (p11_dict *sessions, /* Only removed some, go through and remove those */ } else { for (i = 0; i < at; i++) { - if (!p11_dict_remove (sessions, stolen + at)) + if (!p11_dict_remove (sessions, stolen + i)) assert_not_reached (); } } |