[PATCH] client: fix memory leak in client msg