Fix vid_buf memory leak in editor.c
This commit is contained in:
parent
2d4c195c86
commit
e13e31ce64
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user