mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
ncneofetch: sem_post() on error path
This commit is contained in:
parent
a8db078689
commit
cda4253a0a
@ -369,6 +369,7 @@ display_thread(void* vmarshal){
|
||||
if(m->dinfo->logofile){
|
||||
if(ncdirect_render_image(m->nc, m->dinfo->logofile, NCBLIT_2x2,
|
||||
NCSCALE_SCALE) != NCERR_SUCCESS){
|
||||
sem_post(&m->sem);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user