webrtc: Unmap all non-binary buffers received via the datachannel
authorSebastian Dröge <sebastian@centricular.com>
Tue, 7 Jan 2020 18:17:12 +0000 (20:17 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Tue, 7 Jan 2020 21:15:20 +0000 (21:15 +0000)
commit04c5a550adae36e831b6f457ca72c9a130f3c4b6
treeae9f0c1b115c664e11d4786638cf96e0f3215030
parentdb06f8e9da70796cf3b3e2fd9efda7e2b0fb638b
webrtc: Unmap all non-binary buffers received via the datachannel

Previously they were only unmapped in case of binary data, causing all
of them to be leaked.
ext/webrtc/webrtcdatachannel.c