aboutsummaryrefslogtreecommitdiff
path: root/readline/examples/excallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/examples/excallback.c')
-rw-r--r--readline/examples/excallback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/readline/examples/excallback.c b/readline/examples/excallback.c
index ca03fc3..3d4bb18 100644
--- a/readline/examples/excallback.c
+++ b/readline/examples/excallback.c
@@ -153,6 +153,8 @@ process_line(char *line)
} else {
fprintf(stderr, "|%s|\n", line);
}
+
+ free (line);
}
int