summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-02-01 07:22:59 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-02-01 07:22:59 (GMT)
commitfb43d1e4aacd6cbdd3689556e30143ac24d9bcad (patch)
tree6a9f7af74279b74bcd64a08393cd2775b906c2a8 /Python/marshal.c
parentdc2964b0d849389bffde95b8f76fd112049e114f (diff)
downloadcpython-fb43d1e4aacd6cbdd3689556e30143ac24d9bcad.zip
cpython-fb43d1e4aacd6cbdd3689556e30143ac24d9bcad.tar.gz
cpython-fb43d1e4aacd6cbdd3689556e30143ac24d9bcad.tar.bz2
Fix refleak
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 08e2818..6ca3495 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -881,6 +881,7 @@ r_object(RFILE *p)
v = NULL;
break;
}
+ Py_DECREF(v2);
}
retval = v;
break;