Skip to content
Snippets Groups Projects
Commit 5c946329 authored by Brian Carrier's avatar Brian Carrier
Browse files

slightly more complete fix to #554.

parent 4b8019a8
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,11 @@ tsk_fs_path2inum(TSK_FS_INFO * a_fs, const char *a_path, ...@@ -374,7 +374,11 @@ tsk_fs_path2inum(TSK_FS_INFO * a_fs, const char *a_path,
tsk_fs_name_copy(a_fs_name, fs_file_tmp->name); tsk_fs_name_copy(a_fs_name, fs_file_tmp->name);
} }
tsk_fs_file_close(fs_file_tmp); if (fs_file_alloc)
tsk_fs_file_close(fs_file_alloc);
if (fs_file_del)
tsk_fs_file_close(fs_file_del);
tsk_fs_dir_close(fs_dir); tsk_fs_dir_close(fs_dir);
free(cpath); free(cpath);
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment