mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
eliminate clang-tidy memory leak bitchery
This commit is contained in:
parent
87782f340a
commit
1995749c4b
@ -33,7 +33,11 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){
|
||||
}
|
||||
}
|
||||
do{
|
||||
DEMO_RENDER(nc);
|
||||
int e = demo_render(nc);
|
||||
if(e){
|
||||
free(speeds);
|
||||
return e;
|
||||
}
|
||||
// don't allow gaps in the active range. so long as felloff is true, we've only handled
|
||||
// planes which have fallen off the screen, and can be collected.
|
||||
bool felloff = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user