builtin: remove an unnecessary malloc() call
parent
867f952d6b
commit
6dd1270539
|
@ -129,7 +129,6 @@ TODO
|
||||||
print_backtrace()
|
print_backtrace()
|
||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
free(C.malloc(n))
|
|
||||||
ptr := C.malloc(n)
|
ptr := C.malloc(n)
|
||||||
if isnil(ptr) {
|
if isnil(ptr) {
|
||||||
panic('malloc($n) failed')
|
panic('malloc($n) failed')
|
||||||
|
|
Loading…
Reference in New Issue