fix delete instead of array delete
This commit is contained in:
parent
caf2afc603
commit
991065749b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue