Free the undefined symbol

2007-03-02  Soren Sandman <sandmann@daimi.au.dk>

	* process.c (free_process): Free the undefined symbol



svn path=/trunk/; revision=358
This commit is contained in:
Soren Sandman
2007-03-02 06:27:05 +00:00
committed by Søren Sandmann Pedersen
parent aaa145ea9b
commit ca78960214
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-03-02 Soren Sandman <sandmann@daimi.au.dk>
* process.c (free_process): Free the undefined symbol
2007-03-02 Soren Sandmann <sandmann@daimi.au.dk>
* process.c (process_get_vdso_bytes): Make a copy of the vdso

View File

@ -55,7 +55,7 @@ struct Process
int pid;
const char *undefined;
char * undefined;
};
static void
@ -251,7 +251,8 @@ free_process (gpointer key, gpointer value, gpointer data)
Process *process = value;
free_maps (&(process->n_maps), process->maps);
g_free (process->undefined);
g_free (process->cmdline);
g_list_free (process->bad_pages);