Skip to content

Commit c69cddd

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 35cd3f9 commit c69cddd

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
@@ -1756,7 +1756,7 @@ cdef class WorkGroupMemory:
17561756

17571757

17581758
cdef class _RawKernelArg:
1759-
def __dealloc(self):
1759+
def __dealloc__(self):
17601760
if(self._arg_ref):
17611761
DPCTLRawKernelArg_Delete(self._arg_ref)
17621762

0 commit comments

Comments
 (0)