]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: throw if C.malloc returns nil
authorIan Lance Taylor <iant@golang.org>
Mon, 24 Oct 2016 17:19:04 +0000 (10:19 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 25 Oct 2016 02:38:49 +0000 (02:38 +0000)
commitb4ce38ec5769a270f0545dce43b2e926230609c3
tree0adcc4bd2d414549053cecef5820af94bf5565b9
parent643c6b3c74409871d7f96cbad145dabdefbbc8c1
cmd/cgo: throw if C.malloc returns nil

Change-Id: If7740ac7b6c4190db5a1ab4100d12cf16dc79c84
Reviewed-on: https://go-review.googlesource.com/31768
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
misc/cgo/errors/malloc.go [new file with mode: 0644]
misc/cgo/errors/test.bash
src/cmd/cgo/out.go