diff --git a/src/private/qhashintbytearray.nim b/src/private/qhashintbytearray.nim index 605c8cf..b658cb1 100644 --- a/src/private/qhashintbytearray.nim +++ b/src/private/qhashintbytearray.nim @@ -8,6 +8,7 @@ proc delete*(self: QHashIntByteArray) = return debugMsg("QHashIntByteArray", "delete") dos_qhash_int_qbytearray_delete(self.vptr) + self.vptr.resetToNil proc newQHashIntQByteArray*(): QHashIntByteArray = ## Create a new QHashIntQByteArray