Skip to content

Commit

Permalink
Fix memory leak in IMG_xcf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
janisozaur committed Sep 26, 2018
1 parent 00c0ab7 commit 0596ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IMG_xcf.c
Expand Up @@ -860,6 +860,7 @@ SDL_Surface *IMG_LoadXCF_RW(SDL_RWops *src)
}
free_xcf_channel (channel [i]);
}
SDL_free(channel);

SDL_FreeSurface (chs);
}
Expand Down

0 comments on commit 0596ee9

Please sign in to comment.