Skip to content

Commit

Permalink
these cannot be NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Oct 25, 2023
1 parent 2748a1c commit f40edd8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/winshortcut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ static PyObject *CreateShortcut(PyObject *self, PyObject *args)
PyMem_Free(description);
PyMem_Free(filename);

Py_XDECREF(py_path);
Py_XDECREF(py_description);
Py_XDECREF(py_filename);
Py_DECREF(py_path);
Py_DECREF(py_description);
Py_DECREF(py_filename);
Py_XDECREF(py_arguments);
Py_XDECREF(py_iconpath);
Py_XDECREF(py_workdir);
Expand All @@ -228,9 +228,9 @@ static PyObject *CreateShortcut(PyObject *self, PyObject *args)
PyMem_Free(description);
PyMem_Free(filename);

Py_XDECREF(py_path);
Py_XDECREF(py_description);
Py_XDECREF(py_filename);
Py_DECREF(py_path);
Py_DECREF(py_description);
Py_DECREF(py_filename);
Py_XDECREF(py_arguments);
Py_XDECREF(py_iconpath);
Py_XDECREF(py_workdir);
Expand Down

0 comments on commit f40edd8

Please sign in to comment.