Fix for another segfault/leak case when using -f arg