aboutsummaryrefslogtreecommitdiff
path: root/maple/maple.hh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-05-09 10:26:29 +0000
committerFuwn <[email protected]>2022-05-09 10:26:29 +0000
commitf2ad8a4b37f89f3e5d52c245702f3a663d98ab96 (patch)
treefdc564b4597730871840463cb02b319841b2c492 /maple/maple.hh
parentfix(maple.cc): conditional jump or move depends on uninitialised value(s) (diff)
downloadarchived-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.hh6
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