fix possible memory leaks

This commit is contained in:
MichaelDvP
2026-07-10 09:33:15 +02:00
parent 9443cf3c87
commit 5a1d06d39e
3 changed files with 3 additions and 1 deletions

View File

@@ -782,8 +782,8 @@ std::string compute(const std::string & expr) {
expr_new.replace(f, e - f, result.c_str());
}
http->end();
delete http;
}
delete http;
}
f = expr_new.find_first_of('{', e);
}