mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 11:41:51 +02:00
Fix vid_buf memory leak in editor.c
This commit is contained in:
@@ -397,6 +397,7 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
fwrite(font, CELLW*CELLH, 256, f);
|
fwrite(font, CELLW*CELLH, 256, f);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
free(vid_buf);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user