Config wasn't freed in adhoc mode