[PATCH 5.4 136/152] test_kmod: avoid potential double free in trigger_config_run_type()