Commit d7e92269 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

tube-stream: remove_transport(): ensure that transport is not NULL

parent ab5b73b9
......@@ -282,6 +282,8 @@ remove_transport (GabbleTubeStream *self,
{
GabbleTubeStreamPrivate *priv = self->priv;
g_return_if_fail (transport != NULL);
DEBUG ("disconnect and remove transport");
g_signal_handlers_disconnect_matched (transport, G_SIGNAL_MATCH_DATA,
0, 0, NULL, NULL, self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment