pocroller/fileroller: destroy widgets

This commit is contained in:
nick black 2020-04-25 17:55:59 -04:00
parent d904b2b8c1
commit f92a5805bd
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ int main(int argc, char** argv){
}
fddone = false;
pthread_mutex_unlock(&lock);
ncfdplane_destroy(ncfp);
}
done:

View File

@ -56,7 +56,7 @@ int main(int argc, char** argv){
}
ret = 0;
pthread_mutex_unlock(&lock);
ncsubproc_destroy(nsproc);
if(notcurses_stop(nc) || ret){
return EXIT_FAILURE;
}