fix delete instead of array delete

This commit is contained in:
Fabian Posch 2024-01-16 16:57:38 -05:00
parent caf2afc603
commit 991065749b

View file

@ -297,7 +297,7 @@ bool Downloader::fetch_design([[maybe_unused]]const db::uuid_t& id, std::string&
// and return the name of the file we just created
design = std::string(temp_name);
delete temp_name;
delete[] temp_name;
return true;
}