plug memory leak in whiteout demo

This commit is contained in:
nick black 2020-05-06 04:20:57 -04:00
parent b420722bfe
commit 3e8cbca9e6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -569,6 +569,7 @@ int witherworm_demo(struct notcurses* nc){
break;
}
}while(key == 0);
free(wctx.worms);
ncplane_destroy(mess);
ncplane_destroy(math);