diff options
author | bju <bju@maxi.fritz.box> | 2017-05-04 23:54:21 +0200 |
---|---|---|
committer | bju <bju@maxi.fritz.box> | 2017-05-04 23:54:21 +0200 |
commit | 888f87e2ac5fc9ed6e8f40141252dac302ddb688 (patch) | |
tree | 943081bf74f59155b087941e955e380026b818ff | |
parent | 6502c169013854525b5103a668bc7d5644f2028d (diff) | |
download | vdr-manager-888f87e2ac5fc9ed6e8f40141252dac302ddb688.tar.gz vdr-manager-888f87e2ac5fc9ed6e8f40141252dac302ddb688.tar.bz2 |
the pollfds array was deleted the wrong way
-rw-r--r-- | vdr-vdrmanager/select.cpp | 4 |
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; } |