Skip to content
Snippets Groups Projects
Commit 28ed7a26 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#4259 ignore alock_close on zero slot

parent 705fa456
No related branches found
No related tags found
No related merge requests found
......@@ -504,6 +504,9 @@ alock_close ( alock_info_t * info )
alock_slot_t slot_data;
int res;
if ( !info->al_slot )
return ALOCK_CLEAN;
(void) memset ((void *) &slot_data, 0, sizeof(alock_slot_t));
res = alock_grab_lock (info->al_fd, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment