Skip to content

Commit 8b3f66e

Browse files
authored
Merge pull request #2294 from IntelPython/fix-memory-leak-in-rawkernelarg
Fix memory leak in `RawKernelArg`
2 parents 39b31e6 + 9196807 commit 8b3f66e

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)