diff --git a/options/m_option.c b/options/m_option.c index 00b9c49726..76f7694abe 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -1319,6 +1319,8 @@ static int str_list_add(char **add, int n, void *dst, int pre) #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION if (ln >= 100) { + while (n--) + talloc_free(add[n]); talloc_free(add); return 0; }