Skip to content
Snippets Groups Projects
Commit 9cd157b3 authored by esaunders's avatar esaunders
Browse files

Added comment on stack creation.

parent 70189b4a
No related branches found
No related tags found
No related merge requests found
...@@ -2625,6 +2625,12 @@ ntfs_proc_attrlist(NTFS_INFO * ntfs, ...@@ -2625,6 +2625,12 @@ ntfs_proc_attrlist(NTFS_INFO * ntfs,
} }
if (processed_inum_list == NULL) { if (processed_inum_list == NULL) {
/*
* Create a stack to keep track of inums already seen.
* The local mftSeenList variable is used to keep track
* of which iteration created the stack so that it can
* be correctly freed later.
*/
processed_inum_list = mftSeenList = tsk_stack_create(); processed_inum_list = mftSeenList = tsk_stack_create();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment