aboutsummaryrefslogtreecommitdiff
path: root/src/input-rl.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-30 10:07:39 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-30 10:07:39 +0300
commit5e2333e8119113c729874982eca32941162fe811 (patch)
tree45b37bebcda1dd593da3f28e5829ebf4a0b275f3 /src/input-rl.c
parenta2528b04a987bdbff4763edd2258622ad3141024 (diff)
downloadgdbm-5e2333e8119113c729874982eca32941162fe811.tar.gz
gdbm-5e2333e8119113c729874982eca32941162fe811.tar.bz2
Fix memory leaks in handling history (gdbmtool) and in gdbm_recover
Diffstat (limited to 'src/input-rl.c')
-rw-r--r--src/input-rl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input-rl.c b/src/input-rl.c
index 695d351..e239939 100644
--- a/src/input-rl.c
+++ b/src/input-rl.c
@@ -48,6 +48,7 @@ retrieve_history (char *str)
return 1;
case 0:
+ free (out);
break;
case 1:

Return to:

Send suggestions and report system problems to the System administrator.