diff --git a/src/gui/scan.cpp b/src/gui/scan.cpp index 3135a2492..09234b75e 100644 --- a/src/gui/scan.cpp +++ b/src/gui/scan.cpp @@ -77,6 +77,7 @@ CScanTs::CScanTs() snrscale = new CProgressBar(); snrscale->setBlink(); + memset(&TP, 0, sizeof(TP)); // valgrind } CScanTs::~CScanTs() @@ -258,6 +259,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey) CServiceScan::getInstance()->SetCableNID(scansettings.cable_nid); CZapitClient::commandSetScanSatelliteList sat; + memset(&sat, 0, sizeof(sat)); // valgrind CZapitClient::ScanSatelliteList satList; satList.clear(); if(fast) {