From 3e693f3ceb1b3425b17900423628aecb609f2433 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Feb 2015 00:11:53 +0000 Subject: -fixing misc minor bugs and style issues (unchecked return values, memory leaks, dead code --- src/transport/plugin_transport_unix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/transport/plugin_transport_unix.c') diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index ddb5f747c..1866c56a4 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c @@ -1383,6 +1383,7 @@ unix_transport_server_start (void *cls) if (NULL == plugin->unix_sock.desc) { GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "socket"); + GNUNET_free (un); return GNUNET_SYSERR; } if ('\0' != un->sun_path[0]) -- cgit v1.2.3