diff options
Diffstat (limited to 'src/client/image.c')
| -rw-r--r-- | src/client/image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/image.c b/src/client/image.c index c863849..38296e7 100644 --- a/src/client/image.c +++ b/src/client/image.c @@ -147,6 +147,8 @@ image_t* newImage(SDL_Surface *surface) new->tex_id = tid; + SDL_FreeSurface(surface); + return new; } #endif |