mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
Fixed memory leak. (nw)
This commit is contained in:
parent
7805522af2
commit
57dafc93ed
@ -142,6 +142,9 @@ bool ccvf_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
|
|||||||
|
|
||||||
image->set_variant(f.variant);
|
image->set_variant(f.variant);
|
||||||
|
|
||||||
|
global_free(bytes);
|
||||||
|
global_free(img);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user