projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gaugering
[oweals/gnunet.git]
/
src
/
util
/
client.c
diff --git
a/src/util/client.c
b/src/util/client.c
index a097086d36074a5829203ce659f279ea5ec0b819..681e53971a62b8b7a592222b0c2b3bb7359d447b 100644
(file)
--- a/
src/util/client.c
+++ b/
src/util/client.c
@@
-298,7
+298,7
@@
do_connect (const char *service_name,
sock = GNUNET_CONNECTION_create_from_connect_to_unixpath (cfg, unixpath);
}
- GNUNET_free (unixpath);
+
if (sock != NULL)
{
#if DEBUG_CLIENT
@@
-307,6
+307,7
@@
do_connect (const char *service_name,
return sock;
}
}
+ GNUNET_free_non_null (unixpath);
}
#endif