[PATCH v4 4/4] test_kmod: Avoid potential double free in trigger_config_run_type()