dhtproxy: fix indirect mem leak in create router

This commit is contained in:
Seva committed 2019-07-11 11:06:36 -04:00
1 parent 6f603bfc0a
commit 846f495202
1 file changed
+1 -1
+1 -1
View File
@@ -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