mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-13 21:54:07 +00:00
fix possible memory leaks
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user