Descriptionruntime: fix tiny memory leak
The m->cret word holds the C return value when returning
across a stack split boundary. It was not being cleared after
use, which means that the return value (if a C function)
or else the value of AX/R0 at the time of the last stack unsplit
was being kept alive longer than necessary. Clear it.
I think the effect here should be very small, but worth fixing
anyway.
Patch Set 1 #Patch Set 2 : diff -r c2a342f5b72d https://code.google.com/p/go/ #Patch Set 3 : diff -r c2a342f5b72d https://code.google.com/p/go/ #Patch Set 4 : diff -r e2e49d7a148a https://code.google.com/p/go/ #MessagesTotal messages: 3
|