diff options
| author | Fuwn <[email protected]> | 2022-05-09 10:26:29 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-09 10:26:29 +0000 |
| commit | f2ad8a4b37f89f3e5d52c245702f3a663d98ab96 (patch) | |
| tree | fdc564b4597730871840463cb02b319841b2c492 /maple/maple.hh | |
| parent | fix(maple.cc): conditional jump or move depends on uninitialised value(s) (diff) | |
| download | archived-maple-f2ad8a4b37f89f3e5d52c245702f3a663d98ab96.tar.xz archived-maple-f2ad8a4b37f89f3e5d52c245702f3a663d98ab96.zip | |
fix(maple.cc): fix all possible memory leaks
Diffstat (limited to 'maple/maple.hh')
| -rw-r--r-- | maple/maple.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/maple/maple.hh b/maple/maple.hh index 05e83fc..841eb71 100644 --- a/maple/maple.hh +++ b/maple/maple.hh @@ -27,9 +27,9 @@ namespace maple { static int maple_socket; static SSL_CTX *ssl_context; - auto exit_with[[noreturn]](const char *, bool) -> void; - auto setup_environment(bool &, std::string &, size_t &) -> void; - auto setup_ssl() -> void; + auto prepare_exit_with(const char *, bool) -> int; + auto setup_environment(bool &, std::string &, size_t &) -> int; + auto setup_ssl() -> int; } #endif // MAPLE_HH |