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
9 years ago
by
Hisham
Browse files
Options
Download
Email Patches
Plain Diff
Release resource when using hwloc
parent
e77811e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ProcessList.c
+5
-0
ProcessList.c
with
5 additions
and
0 deletions
+5
-0
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
);
...
...
This diff is collapsed.
Click to expand it.
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