diff options
Diffstat (limited to 'src/Graphics.cpp')
| -rw-r--r-- | src/Graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Graphics.cpp b/src/Graphics.cpp index 0aee464..ae4926a 100644 --- a/src/Graphics.cpp +++ b/src/Graphics.cpp @@ -2366,3 +2366,7 @@ Graphics::Graphics() { vid = (pixel *)malloc(PIXELSIZE * ((XRES+BARSIZE) * (YRES+MENUSIZE))); } +Graphics::~Graphics() +{ + free(vid); +} |
