Commit f871e4e5 authored by Dafydd Harries's avatar Dafydd Harries

stun.c: use g_slice_free rather than g_slice_free1

darcs-hash:20070107173405-c9803-95757f4d2657db121f6f55378fa60e5cc5e51132.gz
parent 65a26d0a
...@@ -32,7 +32,7 @@ stun_attribute_mapped_address_new (guint32 ip, guint16 port) ...@@ -32,7 +32,7 @@ stun_attribute_mapped_address_new (guint32 ip, guint16 port)
void void
stun_attribute_free (StunAttribute *attr) stun_attribute_free (StunAttribute *attr)
{ {
g_slice_free1 (sizeof (StunAttribute), attr); g_slice_free (StunAttribute, attr);
} }
StunAttribute * StunAttribute *
...@@ -122,7 +122,7 @@ stun_message_free (StunMessage *msg) ...@@ -122,7 +122,7 @@ stun_message_free (StunMessage *msg)
g_free (msg->attributes); g_free (msg->attributes);
} }
g_slice_free1 (sizeof (StunMessage), msg); g_slice_free (StunMessage, msg);
} }
StunMessage * StunMessage *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment