diff options
Diffstat (limited to 'libenv_vget_chosen_list.c')
-rw-r--r-- | libenv_vget_chosen_list.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libenv_vget_chosen_list.c b/libenv_vget_chosen_list.c index 2a5e1e6..59a3ebd 100644 --- a/libenv_vget_chosen_list.c +++ b/libenv_vget_chosen_list.c @@ -15,9 +15,7 @@ libenv_vget_chosen_list(enum libenv_class classes_head, va_list classes_tail) return NULL; for (i = 0; i < count; i++) names[i] = vars[i].name; + names[count] = NULL; libenv_vprocess_list_without_dealloc__(names, classes_head, classes_tail, HAVE_HEAD, NAMES, SELECT); return names; } - - -/* TODO test */ |