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:
f32bd71
)
Removing this lines breaks the transport tests on Freebsd
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 20 May 2011 14:33:42 +0000
(14:33 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 20 May 2011 14:33:42 +0000
(14:33 +0000)
Failing tests begin with rev 14256
src/util/connection.c
patch
|
blob
|
history
diff --git
a/src/util/connection.c
b/src/util/connection.c
index 5dbc9916b85da96d91a52ea5d7d4bde39d547760..7828dac531264dba3bbba6e26806f562654d29ee 100644
(file)
--- a/
src/util/connection.c
+++ b/
src/util/connection.c
@@
-966,8
+966,10
@@
GNUNET_CONNECTION_create_from_connect_to_unixpath (const struct
{
/* Just return; we expect everything to work eventually so don't fail HARD */
GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (ret->sock));
- ret->sock = NULL;
- return ret;
+ GNUNET_free (ret->addr);
+ GNUNET_free (ret->write_buffer);
+ GNUNET_free (ret);
+ return NULL;
}
connect_success_continuation (ret);
return ret;