From 5add39f46c8323875fb56bc764a8ff627ad82f18 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期五, 08 十月 2021 11:12:06 +0800 Subject: [PATCH] Adjust the free action independent of the return value from the function return. --- src/socket/shm_mod_socket.cpp | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/socket/shm_mod_socket.cpp b/src/socket/shm_mod_socket.cpp index 7562d56..6139d34 100644 --- a/src/socket/shm_mod_socket.cpp +++ b/src/socket/shm_mod_socket.cpp @@ -38,10 +38,6 @@ return shm_socket_force_bind(shm_socket, key); } -int ShmModSocket::bind_proc_id(char *buf, int len) { - return shm_socket_bind_proc_id(shm_socket, buf, len); -} - int ShmModSocket::reg(void *pData, int len, void **buf, int *size, const int timeout_ms, int flag) { int ret; -- Gitblit v1.8.0