Skip to content

Commit 9196807

Browse files
committed
fix memory leak in rawkernelarg
the __dealloc__ method was missing trailing underscores, so would not be recognized as the deallocator by Cython
1 parent 39b31e6 commit 9196807

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dpctl/_sycl_queue.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ cdef class WorkGroupMemory:
17531753

17541754

17551755
cdef class _RawKernelArg:
1756-
def __dealloc(self):
1756+
def __dealloc__(self):
17571757
if(self._arg_ref):
17581758
DPCTLRawKernelArg_Delete(self._arg_ref)
17591759

0 commit comments

Comments
 (0)