diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 08e57730e..b13da0223 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -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); }