summaryrefslogtreecommitdiff
path: root/socket
diff options
context:
space:
mode:
Diffstat (limited to 'socket')
-rw-r--r--socket/udp-turn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/socket/udp-turn.c b/socket/udp-turn.c
index fea2e00..70bab4e 100644
--- a/socket/udp-turn.c
+++ b/socket/udp-turn.c
@@ -1128,6 +1128,7 @@ nice_udp_turn_socket_parse_recv_message (NiceSocket *sock, NiceSocket **from_soc
message->from, buf_len, buf,
message->from, buf, buf_len);
len = memcpy_buffer_to_input_message (message, buf, len);
+ g_free (buf);
return (len > 0) ? 1 : 0;
}