Commit 34502d67 authored by Philip Withnall's avatar Philip Withnall

socket: Fix a leak on the slow TURN packet handling path

parent 26202dd0
......@@ -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;
}
......
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