summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2006-03-17 14:24:20 +0000
committerBoris Kolpackov <boris@kolpackov.net>2006-03-17 14:24:20 +0000
commit22886f8a74b5925030889fed52af5a8add5617d7 (patch)
treec28340c4ca8f7956e259f671b3202b6bf0874a35 /remake.c
parent50eb3cf5e5a8a68b68e966a6607f668f2c36191e (diff)
downloadgunmake-22886f8a74b5925030889fed52af5a8add5617d7.tar.gz
Fixed Savannah bug #16053.
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;