get_persconffile_path() return malloc'd memory,

free it when we're done with the file name.

svn path=/trunk/; revision=24558
This commit is contained in:
Stig Bjørlykke 2008-03-04 22:02:24 +00:00
parent bb323055b2
commit 1e6d34261d
1 changed files with 1 additions and 0 deletions

View File

@ -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"