This function is used to destroy the spritesheet.
void dg_spritesheet_free(dg_spritesheet_t *spritesheet);
dg_spritesheet_free(sheet);
void dg_spritesheet_free(dg_spritesheet_t *spritesheet)
{
sfTexture_destroy(spritesheet->sheet);
free(spritesheet);
}