mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
aaa145ea9b
commit
ca78960214
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user