summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2014-03-03 07:24:39 +0000
committer Curt Coder <curtcoder@mail.com>2014-03-03 07:24:39 +0000
commit57dafc93ed1e11c3d98ce4e42b2d9b0f313bed1d (patch)
tree69ef392ccac32937538310a7b5486bb2fe8afdf6 /src
parent7805522af28fce2df7507ecc26cdb68b7ee6dbd3 (diff)
Fixed memory leak. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/lib/formats/ccvf_dsk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/formats/ccvf_dsk.c b/src/lib/formats/ccvf_dsk.c
index 0b8781351e1..0895e1ee4d6 100644
--- a/src/lib/formats/ccvf_dsk.c
+++ b/src/lib/formats/ccvf_dsk.c
@@ -142,6 +142,9 @@ bool ccvf_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
image->set_variant(f.variant);
+ global_free(bytes);
+ global_free(img);
+
return true;
}