wtf
authorChristian Grothoff <christian@grothoff.org>
Sat, 31 Oct 2009 20:47:12 +0000 (20:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 31 Oct 2009 20:47:12 +0000 (20:47 +0000)
src/transport/transport_api.c

index 0898c9a5542f8acb9ecbd414e01b8cef34a8a95b..f92b94ca12ae2a1fffce5dc03590a1c6ffbbfc19 100644 (file)
@@ -1544,8 +1544,7 @@ GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle)
       handle->client = NULL;
       GNUNET_CLIENT_disconnect (client);
     }
-  if (client == NULL)
-    GNUNET_free (handle);
+  GNUNET_free (handle);
 }