From b9d27384614ec8d2bd2ae16ae8d0b79a59f026ea Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 30 Jan 2016 11:24:15 -0500 Subject: Fix a bad variable --- coverage/ctracer/tracer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage/ctracer/tracer.c b/coverage/ctracer/tracer.c index 7c8065c..42587b1 100644 --- a/coverage/ctracer/tracer.c +++ b/coverage/ctracer/tracer.c @@ -764,7 +764,7 @@ CTracer_handle_return(CTracer *self, PyFrameObject *frame) Py_INCREF(self->context); STATS( self->stats.pycalls++; ) - val = PyObject_CallFunctionObjArgs(self->switch_context, context, NULL); + val = PyObject_CallFunctionObjArgs(self->switch_context, self->context, NULL); if (val == NULL) { goto error; } -- cgit v1.2.1