diff options
Diffstat (limited to 'lib/dvb/epgcache.cpp')
| -rw-r--r-- | lib/dvb/epgcache.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index 88fd677a..9c6bb1b1 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -1267,9 +1267,12 @@ PyObject *handleEvent(ePtr<eServiceEvent> &ptr, PyObject *dest_list, char* argst PyObject *result = PyEval_CallObject(convertFunc, convertFuncArgs); if (result == NULL) { + if (service_name) + Py_DECREF(service_name); if (nowTime) Py_DECREF(nowTime); Py_DECREF(convertFuncArgs); + Py_DECREF(dest_list); return result; } PyList_Append(dest_list, result); |
