Free another allocated string.

svn path=/trunk/; revision=24577
This commit is contained in:
Stig Bjørlykke 2008-03-06 18:26:09 +00:00
parent 752408e466
commit 0e761b5839
1 changed files with 2 additions and 1 deletions

View File

@ -2996,8 +2996,10 @@ main(int argc, char *argv[])
/* read in rc file from global and personal configuration paths. */
rc_file = get_datafile_path(RC_FILE);
gtk_rc_parse(rc_file);
g_free(rc_file);
rc_file = get_persconffile_path(RC_FILE, FALSE, FALSE);
gtk_rc_parse(rc_file);
g_free(rc_file);
font_init();
@ -3196,7 +3198,6 @@ main(int argc, char *argv[])
u3_deregister_pid();
epan_cleanup();
g_free(rc_file);
#ifdef HAVE_AIRPDCAP
/* Davide Schiera (2006-11-18): destroy AirPDcap context */