bridge: fix invalid free in test case
bridge: fix invalid free in test case

We call g_bytes_unref() on the result of mock_transport_pop_channel().
That's not valid, because this function doesn't return a reference.

This bug went undetected because the mock transport was never freed due
to a leak of the CockpitWebSocketStream object.  That will be fixed
soon.

martinpitt/cockpit,garrett/cockpit,garrett/cockpit,mvollmer/cockpit,garrett/cockpit,garrett/cockpit,cockpit-project/cockpit,mvollmer/cockpit,cockpit-project/cockpit,garrett/cockpit,cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,martinpitt/cockpit,martinpitt/cockpit,cockpit-project/cockpit,martinpitt/cockpit,cockpit-project/cockpit,mvollmer/cockpit,martinpitt/cockpit