summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/panic.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/panic.go')
-rw-r--r--src/pkg/runtime/panic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/panic.go b/src/pkg/runtime/panic.go
index b8fa213f6..1e35561d1 100644
--- a/src/pkg/runtime/panic.go
+++ b/src/pkg/runtime/panic.go
@@ -208,7 +208,7 @@ func Goexit() {
for gp._defer != nil {
d := gp._defer
gp._defer = d.link
- reflectcall(unsafe.Pointer(d.fn), unsafe.Pointer(&d.args), uint32(d.siz), uint32(d.siz), nil)
+ reflectcall(unsafe.Pointer(d.fn), unsafe.Pointer(&d.args), uint32(d.siz), uint32(d.siz))
freedefer(d)
// Note: we ignore recovers here because Goexit isn't a panic
}