Skip to content
Snippets Groups Projects
Commit fb9f48e6 authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Fix a memory leak

parent 060ce636
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,8 @@ void Ionpump::always_executed_hook()
// Fallback to StatMaskX
get_statmask();
}
if (devattrs)
delete devattrs;
/*----- PROTECTED REGION END -----*/ // Ionpump::always_executed_hook
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment