aboutsummaryrefslogtreecommitdiff
path: root/lib/base/ebase.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-07 12:51:36 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-07 12:51:36 +0000
commitda08806fbfea06d179dd8fd6a8e78430b1cb5650 (patch)
tree5339ac175e669f3a0fd0ae12dc30542d4cde4ea1 /lib/base/ebase.cpp
parent3c3f41b61d54bae81e0f6ccea40e9d8dbe3a4337 (diff)
downloadenigma2-da08806fbfea06d179dd8fd6a8e78430b1cb5650.tar.gz
enigma2-da08806fbfea06d179dd8fd6a8e78430b1cb5650.zip
fix
Diffstat (limited to 'lib/base/ebase.cpp')
-rw-r--r--lib/base/ebase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp
index f990f6b8..5dd8e0ae 100644
--- 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
- pollfd* pfd = new pollfd[fdcount]; // make new pollfd array
+ pollfd pfd[fdcount]; // make new pollfd array
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 */
}
}
- delete [] pfd;
/* when we not processed anything, check timers. */
if (!m_timer_list.empty())