projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e091a
)
missing free
author
Nathan S. Evans
<evans@in.tum.de>
Thu, 17 Feb 2011 11:59:30 +0000
(11:59 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Thu, 17 Feb 2011 11:59:30 +0000
(11:59 +0000)
src/util/client.c
patch
|
blob
|
history
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