Skip to content

Commit a9e3cc9

Browse files
comment cleanup
1 parent c4c1789 commit a9e3cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsTypeFactory.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ JS::Value jsTypeFactory(JSContext *cx, PyObject *object) {
180180
JS_GetClassPrototype(cx, JSProto_Object, &objectPrototype); // so that instanceof will work, not that prototype methods will
181181
proxy = js::NewProxyObject(cx, new PyDictProxyHandler(object), v, objectPrototype.get());
182182
}
183-
Py_INCREF(object); // TODO leak! clean up in finalize
183+
Py_INCREF(object);
184184
JS::SetReservedSlot(proxy, PyObjectSlot, JS::PrivateValue(object));
185185
returnType.setObject(*proxy);
186186
}

0 commit comments

Comments
 (0)