Skip to content

Commit c850534

Browse files
authored
[DRIVER] fix undefined behavior (#7806)
1 parent b3e9fad commit c850534

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

third_party/nvidia/backend/driver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,6 @@ def format_of(ty):
552552
553553
if(launch_exit_hook != Py_None){{
554554
PyObject* ret = PyObject_CallOneArg(launch_exit_hook, launch_metadata);
555-
Py_DECREF(args);
556555
if (!ret)
557556
return NULL;
558557
Py_DECREF(ret);

0 commit comments

Comments
 (0)