diff options
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 4c5ede5..38473e2 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -844,8 +844,10 @@ l_divmod(v, w, pdiv, pmod) (temp = (longobject *) long_sub(div, one)) == NULL) { DECREF(mod); DECREF(div); + XDECREF(one); return -1; } + DECREF(one); DECREF(div); div = temp; } |