git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more work on keyboard support
[enigma2.git]
/
lib
/
base
/
ebase.cpp
diff --git
a/lib/base/ebase.cpp
b/lib/base/ebase.cpp
index f990f6b89aa35af987b0a97d478704dfbafd742d..5dd8e0ae811b984da6909b53a88f68a6b9dbe746 100644
(file)
--- a/
lib/base/ebase.cpp
+++ b/
lib/base/ebase.cpp
@@
-185,7
+185,7
@@
int eMainloop::processOneEvent(unsigned int user_timeout, PyObject **res, PyObje
}
// build the poll aray
}
// build the poll aray
- pollfd
* pfd = new poll
fd[fdcount]; // make new pollfd array
+ pollfd
p
fd[fdcount]; // make new pollfd array
for (int i=0; i < nativecount; i++, fd_merged_it++)
{
for (int i=0; i < nativecount; i++, fd_merged_it++)
{
@@
-271,7
+271,6
@@
int eMainloop::processOneEvent(unsigned int user_timeout, PyObject **res, PyObje
ret = -1; /* don't assume the timeout has passed when we got a signal */
}
}
ret = -1; /* don't assume the timeout has passed when we got a signal */
}
}
- delete [] pfd;
/* when we not processed anything, check timers. */
if (!m_timer_list.empty())
/* when we not processed anything, check timers. */
if (!m_timer_list.empty())