summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vdr-vdrmanager/select.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr-vdrmanager/select.cpp b/vdr-vdrmanager/select.cpp
index 5e78584..f1cb34b 100644
--- a/vdr-vdrmanager/select.cpp
+++ b/vdr-vdrmanager/select.cpp
@@ -172,7 +172,7 @@ bool cSelect::Poll() {
}
if (rc < 0) {
LOG_ERROR;
- delete pollfds;
+ delete[] pollfds;
return false;
}
@@ -227,7 +227,7 @@ bool cSelect::Poll() {
}
}
- delete pollfds;
+ delete[] pollfds;
return true;
}