Camel: Fix possible busy loop in camel-lock-helper
Followup from !149 (comment 1966246) , filled downstream as https://bugzilla.redhat.com/show_bug.cgi?id=2266184
Relevant part from the merge request:
-
info = p->next;
means there's never tried the first lock - the
lock_info_list
is not updated when the first item is removed (which might explain the 1.), but after a glance read of the file, the
while (lock_info_list)
unlock_id (lock_info_list->id);
at the end of the main()
would never end, no?