diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-28 20:07:09 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-28 20:07:09 +0000 |
commit | 9d8a6eb16d1b49c7d0b0fe1e1e62360dc9861439 (patch) | |
tree | 16fa35faf7f01c816487083222056f1dbe454d1d /src | |
parent | bde5bf6aa91c85ceb94b144fe4cc6f1280ef9d68 (diff) | |
download | imv-9d8a6eb16d1b49c7d0b0fe1e1e62360dc9861439.tar.gz |
Use correct free function for SDL_Surface
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -349,7 +349,7 @@ int main(int argc, char** argv) imv_viewport_set_title(&view, title); if(overlay_surf) { - free(overlay_surf); + SDL_FreeSurface(overlay_surf); overlay_surf = NULL; } if(overlay_tex) { |