We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Py_DECREF
PyObject_CallObject
1 parent d90b234 commit 557a709Copy full SHA for 557a709
third_party/amd/backend/driver.py
@@ -441,6 +441,7 @@ def format_of(ty):
441
Py_DECREF(args);
442
if (!ret)
443
return NULL;
444
+ Py_DECREF(ret);
445
}}
446
447
@@ -454,6 +455,7 @@ def format_of(ty):
454
455
456
457
458
459
460
461
if(PyErr_Occurred()) {{
third_party/nvidia/backend/driver.py
@@ -472,6 +472,7 @@ def format_of(ty):
472
473
474
475
476
477
478
CUdeviceptr global_scratch = 0;
@@ -499,7 +500,7 @@ def format_of(ty):
499
500
501
502
-
503
504
505
506
Py_RETURN_NONE;
0 commit comments