aboutsummaryrefslogtreecommitdiff
path: root/src/imv.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-08-15 00:40:19 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-08-15 00:40:19 +0100
commit48aa31c7a10798956b4cf664cba79e1a5619c977 (patch)
treeac63a53e22c8e6bc8e1cf7abc5b68c8e8b447905 /src/imv.c
parent4db590c0d02bce840f6ff87031aeed6f24cc06d5 (diff)
downloadimv-48aa31c7a10798956b4cf664cba79e1a5619c977.tar.gz
binds: Fix memory leak
Diffstat (limited to 'src/imv.c')
-rw-r--r--src/imv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imv.c b/src/imv.c
index d5c2c3c..27f0d6d 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -286,7 +286,7 @@ static bool add_bind(struct imv *imv, const char *keys, const char *commands)
commands = next_command;
}
- list_free(list);
+ list_deep_free(list);
return success;
}