Cache BinFiles by filename.

Sat Jul  9 23:20:39 2005  Soeren Sandmann  <sandmann@redhat.com>

	* binfile.c (bin_file_new): Cache BinFiles by filename.

	* stackstash.c (stack_stash_free): Plug leak

	* process.c (process_free_maps): Plug leak

	* module/Makefile (install): Check that depmod exists before
	running it.
This commit is contained in:
Soeren Sandmann
2005-07-10 03:28:35 +00:00
committed by Søren Sandmann Pedersen
parent 3459f764d7
commit f3b78b7944
8 changed files with 58 additions and 19 deletions

View File

@ -183,6 +183,9 @@ process_free_maps (Process *process)
for (list = process->maps; list != NULL; list = list->next)
{
Map *map = list->data;
if (map->filename)
g_free (map->filename);
if (map->bin_file)
bin_file_free (map->bin_file);