From 60c62c6a3fccfb90ad02c6aea055804be380495e Mon Sep 17 00:00:00 2001 From: Filippo Cucchetto Date: Sat, 20 Feb 2016 12:49:26 +0100 Subject: [PATCH] Fixed Missing reset to nil ini QModelIndex --- src/private/qhashintbytearray.nim | 1 + 1 file changed, 1 insertion(+) 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