summaryrefslogtreecommitdiffstatshomepage
path: root/src/build
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2011-07-31 15:46:18 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2011-07-31 15:46:18 +0000
commit8449a9cbdc47a36e9a5ecc079a073c599439c019 (patch)
tree4d18879ecc3b0ee87f97511318e709cf68fd8de3 /src/build
parent42be9323df4383d7584ec6f7642a4c5b9b15e61e (diff)
- Removing MD5 support in ROMLOAD_* [Oliver Stoneberg]
- Various core and tools memory leaks fixes [Oliver Stoneberg]
Diffstat (limited to 'src/build')
-rw-r--r--src/build/makedep.c2
-rw-r--r--src/build/makelist.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/build/makedep.c b/src/build/makedep.c
index df94e540515..51862ec3feb 100644
--- a/src/build/makedep.c
+++ b/src/build/makedep.c
@@ -479,7 +479,7 @@ static file_entry *compute_dependencies(int srcrootlen, const astring *srcfile)
astring_free(filename);
}
- free(filedata);
+ osd_free(filedata);
return file;
}
diff --git a/src/build/makelist.c b/src/build/makelist.c
index 88d600f3a42..05f9d629497 100644
--- a/src/build/makelist.c
+++ b/src/build/makelist.c
@@ -168,6 +168,9 @@ int parse_file(const char *srcfile)
strcpy(name, drivname);
drivlist[drivcount++] = name;
}
+
+ osd_free(buffer);
+
return 0;
}