Missing Free for getline Allocated Memory
This commit is contained in:
@@ -41,6 +41,8 @@ void Delete::deleteDrive(Drive *drive)
|
||||
{
|
||||
// wipefs running
|
||||
}
|
||||
|
||||
free(cLine);
|
||||
pclose(deleteCmdOutput);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user