summaryrefslogtreecommitdiff
path: root/histfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'histfile.c')
-rw-r--r--histfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/histfile.c b/histfile.c
index edc903e..3bfec55 100644
--- a/histfile.c
+++ b/histfile.c
@@ -310,7 +310,7 @@ read_history_range (const char *filename, int from, int to)
if (file_size == 0)
{
- free (input);
+ xfree (input);
close (file);
return 0; /* don't waste time if we don't have to */
}