Skip to content
Snippets Groups Projects
Commit 6d66f1ee authored by antonkukoba's avatar antonkukoba
Browse files

Update ewf.c

Fixed memory leak on ewf images
parent b028eaed
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,10 @@ ewf_image_close(TSK_IMG_INFO * img_info)
}
free(ewf_info->images);
}
else {
libewf_error_t *error;
libewf_glob_free( ewf_info->images, ewf_info->num_imgs, &error);
}
tsk_deinit_lock(&(ewf_info->read_lock));
free(img_info);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment