From 6dd791f7e145d3898a939bc937f197fc06cb9d9b Mon Sep 17 00:00:00 2001 From: saxon Date: Tue, 21 Aug 2018 18:44:26 +0930 Subject: [PATCH] rtmp: changed call to allocate to call to malloc as allocate does not exist anymore --- rtmp/rtmp_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtmp/rtmp_test.go b/rtmp/rtmp_test.go index 581de7e4..4cd24a56 100644 --- a/rtmp/rtmp_test.go +++ b/rtmp/rtmp_test.go @@ -75,7 +75,7 @@ func TestMemset(t *testing.T) { size := 10 setNum := 5 testVal := byte('A') - mem := allocate(uintptr(size)) + mem := malloc(uintptr(size)) memset((*byte)(mem), int(testVal), setNum) for i := 0; i < size; i++ { if i > setNum-1 {