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
e7d6eb6a
Commit
e7d6eb6a
authored
Mar 08, 2015
by
Hisham Muhammad
Browse files
Fix deletion of processes. Closes #172.
Conflicts: linux/LinuxProcess.c
parent
50000d80
Changes
1
Hide whitespace changes
Inline
Side-by-side
linux/LinuxProcess.c
View file @
e7d6eb6a
...
...
@@ -29,13 +29,13 @@ typedef struct LinuxProcess_ {
LinuxProcess
*
LinuxProcess_new
(
Settings
*
settings
)
{
LinuxProcess
*
this
=
calloc
(
sizeof
(
LinuxProcess
),
1
);
Object_setClass
(
this
,
Class
(
Process
));
Process_init
(
&
this
->
super
,
settings
);
return
this
;
}
void
LinuxProcess_delete
(
Object
*
cast
)
{
LinuxProcess
*
this
=
(
LinuxProcess
*
)
this
;
Object_setClass
(
this
,
Class
(
Process
));
LinuxProcess
*
this
=
(
LinuxProcess
*
)
cast
;
Process_done
((
Process
*
)
cast
);
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