summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c34436a..4fb0cf2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -243,7 +243,14 @@ read_rc_file (FILE *file)
/* do it */
if (*line != '#')
- command (line);
+ {
+ char *result;
+ result = command (0, line);
+
+ /* Gobble the result. */
+ if (result)
+ free (result);
+ }
*line = '\0';
}