summaryrefslogtreecommitdiff
path: root/socket/udp-bsd.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2010-07-20 17:49:09 -0400
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2010-07-20 17:49:09 -0400
commit4ee70c869f162e125488dd80d1c58580524a5a22 (patch)
treec39f454ca40082c911f81bd0eddf798fc7f933ff /socket/udp-bsd.c
parent358a999fd2a1f0fa283156e088f26a69b3efa8cc (diff)
parent3b16d8b065a0c53116511ca59bd1965a44327c73 (diff)
downloadlibnice-4ee70c869f162e125488dd80d1c58580524a5a22.tar.gz
Merge remote branch 'tester/misc-fixes' into nice-kakaroto
Conflicts: agent/agent.c
Diffstat (limited to 'socket/udp-bsd.c')
-rw-r--r--socket/udp-bsd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/socket/udp-bsd.c b/socket/udp-bsd.c
index 86121d2..095b2d8 100644
--- a/socket/udp-bsd.c
+++ b/socket/udp-bsd.c
@@ -73,10 +73,6 @@ nice_udp_bsd_socket_new (NiceAddress *addr)
socklen_t name_len = sizeof (name);
NiceSocket *sock = g_slice_new0 (NiceSocket);
- if (!sock) {
- return NULL;
- }
-
if (addr != NULL) {
nice_address_copy_to_sockaddr(addr, (struct sockaddr *)&name);
} else {