aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index 6d70bd60..01c64b6b 100644
--- a/options.c
+++ b/options.c
@@ -322,6 +322,7 @@ struct query *ctl; /* option record to be initialized */
break;
case 'f':
case LA_RCFILE:
+ xfree(rcfile);
rcfile = prependdir (optarg, currentwd);
break;
case 'i':