avf: fix cli memory leak with incorrect options