diff --git a/src/zmc.cpp b/src/zmc.cpp index 47c021309..b403425ef 100644 --- a/src/zmc.cpp +++ b/src/zmc.cpp @@ -296,7 +296,7 @@ int main( int argc, char *argv[] ) { delete monitors[i]; } - delete monitors; + delete [] monitors; delete [] alarm_capture_delays; delete [] capture_delays; delete [] next_delays;