static void pending_req_free(void *data)
{
	struct pending_req *req = data;

	if (req->timeout)
		timeout_remove(req->timeout);
	g_free(req->data);
	g_free(req);
}
static void pending_req_free(void *data)
{
	struct pending_req *req = data;

	if (req->timeout)
		timeout_remove(req->timeout);
	g_free(req->data);
	g_free(req);
}