--- a/sys/dev/raid/vinum/vinumio.c 2026-09-21 23:37:03.060829040 +0000 +++ b/sys/dev/raid/vinum/vinumio.c 2026-09-21 23:42:20.468698920 +0000 @@ -689,6 +689,8 @@ CHECKALLOC(drivelist, "Can't allocate memory"); error = setjmp(command_fail); /* come back here on error */ if (error) { /* longjmped out */ + Free(drivelist); + vinum_conf.flags &= ~VF_READING_CONFIG; return error; } @@ -749,6 +751,8 @@ log(LOG_WARNING, "vinum: no drives found\n"); else log(LOG_INFO, "vinum: no additional drives found\n"); + Free(drivelist); + vinum_conf.flags &= ~VF_READING_CONFIG; return ENOENT; } /*