mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-07 13:40:57 +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>
|
2007-03-02 Soren Sandmann <sandmann@daimi.au.dk>
|
||||||
|
|
||||||
* process.c (process_get_vdso_bytes): Make a copy of the vdso
|
* process.c (process_get_vdso_bytes): Make a copy of the vdso
|
||||||
|
|||||||
@ -55,7 +55,7 @@ struct Process
|
|||||||
|
|
||||||
int pid;
|
int pid;
|
||||||
|
|
||||||
const char *undefined;
|
char * undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -251,7 +251,8 @@ free_process (gpointer key, gpointer value, gpointer data)
|
|||||||
Process *process = value;
|
Process *process = value;
|
||||||
|
|
||||||
free_maps (&(process->n_maps), process->maps);
|
free_maps (&(process->n_maps), process->maps);
|
||||||
|
|
||||||
|
g_free (process->undefined);
|
||||||
g_free (process->cmdline);
|
g_free (process->cmdline);
|
||||||
g_list_free (process->bad_pages);
|
g_list_free (process->bad_pages);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user