summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorSoren Sandman <sandmann@daimi.au.dk>2007-03-02 06:27:05 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2007-03-02 06:27:05 +0000
commitca7896021479835ec749bf2b6b7d5e72f23e744c (patch)
tree9195594b3ce0ff335a60f34b65c360a2f51e4af4 /process.c
parentaaa145ea9b6892046299a9ddaa6286f0af3d3f32 (diff)
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
Diffstat (limited to 'process.c')
-rw-r--r--process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/process.c b/process.c
index 8ff8b7e..2baab9c 100644
--- a/process.c
+++ b/process.c
@@ -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);