Skip to content
Snippets Groups Projects
Commit 1b084c22 authored by apriestman's avatar apriestman
Browse files

Clear out the list of pool info structs so they won't be closed multiple times.

parent 7e33d5d2
No related branches found
No related tags found
No related merge requests found
...@@ -149,6 +149,7 @@ void ...@@ -149,6 +149,7 @@ void
for (int i = 0; i < m_poolInfos.size(); i++) { for (int i = 0; i < m_poolInfos.size(); i++) {
tsk_pool_close(m_poolInfos[i]); tsk_pool_close(m_poolInfos[i]);
} }
m_poolInfos.clear();
if ((m_img_info) && (m_internalOpen)) { if ((m_img_info) && (m_internalOpen)) {
tsk_img_close(m_img_info); tsk_img_close(m_img_info);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment