mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
plug memory leak in whiteout demo
This commit is contained in:
parent
b420722bfe
commit
3e8cbca9e6
@ -569,6 +569,7 @@ int witherworm_demo(struct notcurses* nc){
|
||||
break;
|
||||
}
|
||||
}while(key == 0);
|
||||
free(wctx.worms);
|
||||
|
||||
ncplane_destroy(mess);
|
||||
ncplane_destroy(math);
|
||||
|
Loading…
x
Reference in New Issue
Block a user