[PATCH 5.7 180/204] test_kmod: avoid potential double free in trigger_config_run_type()