use PyObject_Callback instead of PyEval_Callback (memleak fix?)
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 2 Jan 2006 12:12:50 +0000 (12:12 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 2 Jan 2006 12:12:50 +0000 (12:12 +0000)
lib/dvb/epgcache.cpp

index e3a4585..60eee05 100644 (file)
@@ -1264,7 +1264,7 @@ PyObject *handleEvent(ePtr<eServiceEvent> &ptr, PyObject *dest_list, char* argst
        if (convertFunc)
        {
                fillTuple(convertFuncArgs, argstring, argcount, service, ptr, nowTime, service_name);
        if (convertFunc)
        {
                fillTuple(convertFuncArgs, argstring, argcount, service, ptr, nowTime, service_name);
-               PyObject *result = PyEval_CallObject(convertFunc, convertFuncArgs);
+               PyObject *result = PyObject_CallObject(convertFunc, convertFuncArgs);
                if (result == NULL)
                {
                        if (service_name)
                if (result == NULL)
                {
                        if (service_name)