diff --git a/libretro-common/formats/image_transfer.c b/libretro-common/formats/image_transfer.c index f4fe2291d7..4c2bb5dd15 100644 --- a/libretro-common/formats/image_transfer.c +++ b/libretro-common/formats/image_transfer.c @@ -51,9 +51,9 @@ void image_transfer_free(void *data, enum image_type_enum type) case IMAGE_TYPE_PNG: { #ifdef HAVE_RPNG - rpng_t *rpng = (rpng_t*)data; - if (rpng) - rpng_free(rpng); + rpng_t *rpng = (rpng_t*)data; + if (rpng) + rpng_free(rpng); #endif } break;