Forgot one other leak case
This commit is contained in:
parent
ad1074184c
commit
2d313df844
@ -358,6 +358,8 @@ void load_sprite(sprite_t * sprite, char * filename) {
|
||||
}
|
||||
i += row_width;
|
||||
}
|
||||
|
||||
fclose(image);
|
||||
free(bufferb);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user