2
0
Эх сурвалжийг харах

dialog: release lock when profile has been found

Alex Hermann 11 жил өмнө
parent
commit
10a655b554

+ 1 - 0
modules/dialog/dlg_profile.c

@@ -353,6 +353,7 @@ void remove_expired_remote_profiles(time_t te)
 						lh->next = lh->prev = NULL;
 						if(lh->linker) shm_free(lh->linker);
 						p_entry->content--;
+						lock_release(&profile->lock);
 						return;
 					}
 					lh = kh;