notcurses_stop: free rstate fbuf

pull/2159/head
nick black 3 years ago
parent 2a04effbca
commit d899c5c9d3
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -1270,6 +1270,7 @@ int notcurses_stop(notcurses* nc){
#endif
ret |= pthread_mutex_destroy(&nc->stats.lock);
ret |= pthread_mutex_destroy(&nc->pilelock);
fbuf_free(&nc->rstate.f);
free_terminfo_cache(&nc->tcache);
free(nc);
}

Loading…
Cancel
Save