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

dialog: release remote profile lock on remove operation

Daniel-Constantin Mierla 10 жил өмнө
parent
commit
04bd28fffd

+ 1 - 0
modules/dialog/dlg_profile.c

@@ -394,6 +394,7 @@ int remove_profile(dlg_profile_table_t *profile, str *value, str *puid)
 				lh->next = lh->prev = NULL;
 				if(lh->linker) shm_free(lh->linker);
 				p_entry->content--;
+				lock_release(&profile->lock );
 				return 1;
 			}
 			lh = lh->next;