bugfix/ai-static-analysis #82

Merged
localhorst merged 33 commits from bugfix/ai-static-analysis into master 2025-12-10 21:52:17 +01:00
12 changed files with 226 additions and 136 deletions
Showing only changes of commit c9c4c0fac2 - Show all commits

View File

@ -41,6 +41,8 @@ void Delete::deleteDrive(Drive *drive)
{ {
// wipefs running // wipefs running
} }
free(cLine);
pclose(deleteCmdOutput); pclose(deleteCmdOutput);
} }
} }

View File

@ -58,6 +58,7 @@ void SMART::readSMARTData(Drive *drive)
SMART::parseTemperature(sLine, temperature); SMART::parseTemperature(sLine, temperature);
} }
free(cLine);
pclose(outputfileSmart); pclose(outputfileSmart);
if (status == 0U) if (status == 0U)