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
c5b9045f
Commit
c5b9045f
authored
Jan 04, 2016
by
Hisham Muhammad
Browse files
Plug leak in FreeBSD backend, as noted by @mmcco in #334.
parent
77cffaac
Changes
1
Hide whitespace changes
Inline
Side-by-side
freebsd/FreeBSDProcessList.c
View file @
c5b9045f
...
...
@@ -192,6 +192,7 @@ void ProcessList_delete(ProcessList* this) {
if
(
fpl
->
cp_time_n
!=
NULL
)
free
(
fpl
->
cp_time_n
);
if
(
fpl
->
cp_times_o
!=
NULL
)
free
(
fpl
->
cp_times_o
);
if
(
fpl
->
cp_times_n
!=
NULL
)
free
(
fpl
->
cp_times_n
);
free
(
fpl
->
cpus
);
ProcessList_done
(
this
);
free
(
this
);
...
...
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