diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2008-12-10 14:11:39 -0500 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2008-12-10 14:11:39 -0500 |
commit | 88c849be4ebc5387d9c3c8d87476057be5423517 (patch) | |
tree | 1e61a13eb9cf64878d676f788ebc6ab430bcfb05 /socket/tcp-bsd.c | |
parent | 16c42171061a0419b13a1f9b796253e53c70f583 (diff) | |
download | libnice-88c849be4ebc5387d9c3c8d87476057be5423517.tar.gz |
use g_slice_new0 instead of g_slice_new
Diffstat (limited to 'socket/tcp-bsd.c')
-rw-r--r-- | socket/tcp-bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/tcp-bsd.c b/socket/tcp-bsd.c index 6694a11..2c41d75 100644 --- a/socket/tcp-bsd.c +++ b/socket/tcp-bsd.c @@ -335,7 +335,7 @@ add_to_be_sent (NiceSocket *sock, const gchar *buf, guint len, gboolean head) if (len <= 0) return; - tbs = g_slice_new (struct to_be_sent); + tbs = g_slice_new0 (struct to_be_sent); tbs->buf = g_memdup (buf, len); tbs->length = len; if (head) |