编译通过

This commit is contained in:
zogodo
2019-12-26 21:06:54 +08:00
parent 8fee104f50
commit f8a4404614
3 changed files with 8 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ bool DelTask(int time)
{
pTimedTask tmp = task_top;
task_top = task_top->next;
free(task_top);
free(tmp);
return true;
}
else if (task_top->next == NULL)