mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dhtproxy: fix indirect mem leak in create router
This commit is contained in:
1 parent
6f603bfc0a
commit
846f495202
1 file changed
+1
-1
@@ -269,7 +269,7 @@ DhtProxyServer::createRestRouter()
|
||||
router->http_post("/key/:hash/encrypt", std::bind(&DhtProxyServer::putEncrypted, this, _1, _2));
|
||||
#endif // OPENDHT_PROXY_SERVER_IDENTITY
|
||||
|
||||
return router;
|
||||
return std::move(router);
|
||||
}
|
||||
|
||||
RequestStatus
|
||||
|
||||
Reference in new issue
Block a user