Commit 39a725ab authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Fix deletion of processes. Closes #172.

parent 0a184b76
...@@ -35,7 +35,7 @@ LinuxProcess* LinuxProcess_new(ProcessList* pl) { ...@@ -35,7 +35,7 @@ LinuxProcess* LinuxProcess_new(ProcessList* pl) {
} }
void LinuxProcess_delete(Object* cast) { void LinuxProcess_delete(Object* cast) {
LinuxProcess* this = (LinuxProcess*) this; LinuxProcess* this = (LinuxProcess*) cast;
Process_done((Process*)cast); Process_done((Process*)cast);
free(this); free(this);
} }
......
Markdown is supported
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