From 2b1f534ea407a8ec0b94e0389a360f6cdff54598 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 08 九月 2021 14:02:38 +0800
Subject: [PATCH] call C.BHFree after return success

---
 src/queue/shm_queue.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/queue/shm_queue.h b/src/queue/shm_queue.h
index 74b9b33..f5d64db 100644
--- a/src/queue/shm_queue.h
+++ b/src/queue/shm_queue.h
@@ -40,8 +40,8 @@
   bool full();
   bool empty();
 
-  int push(const ELEM_T &a_data, const struct timespec *timeout=NULL, int flag=0);
-  int pop(ELEM_T &a_data, const struct timespec *timeout=NULL, int flag=0);
+  int push(const ELEM_T &a_data, const struct timespec *timeout = NULL, int flag = 0);
+  int pop(ELEM_T &a_data, const struct timespec *timeout = NULL, int flag = 0);
 
   ELEM_T &operator[](unsigned i);
 

--
Gitblit v1.8.0