Fix libchdr warning (#14658)

This commit is contained in:
sonninnos 2022-11-22 15:44:56 +02:00 committed by GitHub
parent 3e661ea42e
commit aeaf5561bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ chd_error zlib_codec_init(void *codec, uint32_t hunkbytes)
/* handle an error */
if (err != CHDERR_NONE)
free(data);
zlib_codec_free(data);
return err;
}