summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remake.c b/remake.c
index da231b4..2dfade3 100644
--- a/remake.c
+++ b/remake.c
@@ -994,13 +994,13 @@ check_dep (struct file *file, unsigned int depth,
if (lastd == 0)
{
file->deps = d->next;
- free ((char *) d);
+ free_dep (d);
d = file->deps;
}
else
{
lastd->next = d->next;
- free ((char *) d);
+ free_dep (d);
d = lastd->next;
}
continue;