fix memory leak in ipc_listener wildcard