Skip to content

Commit

Permalink
dialog: release remote profile lock on remove operation
Browse files Browse the repository at this point in the history
(cherry picked from commit 04bd28f)
(cherry picked from commit 9083ac3)
  • Loading branch information
miconda committed Dec 17, 2015
1 parent 493a6c8 commit ecbacb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/dialog/dlg_profile.c
Expand Up @@ -398,6 +398,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;
Expand Down

0 comments on commit ecbacb2

Please sign in to comment.