diff options
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index faf46d5..fae9386 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -40,11 +40,11 @@ newtupleobject(size) malloc(sizeof(tupleobject) + size * sizeof(object *)); if (op == NULL) return err_nomem(); - NEWREF(op); op->ob_type = &Tupletype; op->ob_size = size; for (i = 0; i < size; i++) op->ob_item[i] = NULL; + NEWREF(op); return (object *) op; } |