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 --- src/shm_msg_queue.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/shm_msg_queue.h b/src/shm_msg_queue.h index e6c104b..6a4d7a4 100644 --- a/src/shm_msg_queue.h +++ b/src/shm_msg_queue.h @@ -29,7 +29,7 @@ { public: typedef int64_t RawData; - typedef ShmObject<SharedQ63> Shmq; + typedef NamedShmObject<SharedQ63> Shmq; typedef Shmq::Data Queue; typedef Shmq::ShmType ShmType; typedef uint64_t MQId; -- Gitblit v1.8.0