Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
84a69b1e
Commit
84a69b1e
authored
Feb 29, 2016
by
Hisham
Browse files
Release resource when using hwloc
parent
e77811e9
Changes
1
Show whitespace changes
Inline
Side-by-side
ProcessList.c
View file @
84a69b1e
...
...
@@ -108,6 +108,11 @@ ProcessList* ProcessList_init(ProcessList* this, ObjectClass* klass, UsersTable*
}
void
ProcessList_done
(
ProcessList
*
this
)
{
#ifdef HAVE_LIBHWLOC
if
(
this
->
topologyOk
)
{
hwloc_topology_destroy
(
this
->
topology
);
}
#endif
Hashtable_delete
(
this
->
processTable
);
Vector_delete
(
this
->
processes
);
Vector_delete
(
this
->
processes2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment