summaryrefslogtreecommitdiff
path: root/libmisc/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmisc/list.c')
-rw-r--r--libmisc/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmisc/list.c b/libmisc/list.c
index 2da734a7..8837fa12 100644
--- a/libmisc/list.c
+++ b/libmisc/list.c
@@ -241,6 +241,7 @@ bool is_on_list (char *const *list, const char *member)
if ('\0' == *members) {
*array = (char *) 0;
+ free (members);
return array;
}