From 13c503b73b4ecc8ce4a6e344f9ac15202985d686 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 20 七月 2021 19:48:58 +0800
Subject: [PATCH] fix memory leak

---
 box/tcp_proxy.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/box/tcp_proxy.cpp b/box/tcp_proxy.cpp
index b4ec497..803874d 100644
--- a/box/tcp_proxy.cpp
+++ b/box/tcp_proxy.cpp
@@ -31,3 +31,8 @@
 		return false;
 	}
 }
+
+bool TcpProxy::Publish(const std::string &ip, int port, std::string &&content)
+{
+	return Request(ip, port, std::move(content), ReplyCB());
+}
\ No newline at end of file

--
Gitblit v1.8.0