Fix deletion of processes. Closes #172.

This commit is contained in:
Hisham Muhammad 2015-03-08 19:45:56 -03:00
parent 0a184b769f
commit 39a725abc2
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ LinuxProcess* LinuxProcess_new(ProcessList* pl) {
}
void LinuxProcess_delete(Object* cast) {
LinuxProcess* this = (LinuxProcess*) this;
LinuxProcess* this = (LinuxProcess*) cast;
Process_done((Process*)cast);
free(this);
}