aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-03-04 22:02:24 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-03-04 22:02:24 +0000
commit1e6d34261dcde4306ecfccd8d73880965bb929b3 (patch)
tree91926808638352b5453922869d933a9d12953815 /gtk
parentbb323055b299c96b060f4d09ed4f6793a6f957f5 (diff)
get_persconffile_path() return malloc'd memory,
free it when we're done with the file name. svn path=/trunk/; revision=24558
Diffstat (limited to 'gtk')
-rw-r--r--gtk/recent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/recent.c b/gtk/recent.c
index e5b0fa4851..f339949872 100644
--- a/gtk/recent.c
+++ b/gtk/recent.c
@@ -142,6 +142,7 @@ write_recent(void)
g_free(rf_path);
return FALSE;
}
+ g_free(rf_path);
fputs("# Recent settings file for Wireshark " VERSION ".\n"
"#\n"