mod_rayo: fix memory leak in input component