Hello, I am a graduate student, and my research focus is on static analysis of programs. Recently, when I conducted static analysis on NanoMQ, I detected several code locations that potentially have memory leak issues. Some of these defects are located within the NanoMQ codebase, while others are within the NanoMQ library, nng. Detailed information describing these defects can be found at the following link:
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_2.md
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_3.md
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_4.md
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_5.md
 Several memory leak defects were detected in NanoMQ.
This is a GitHub Issue
repo:nanomq
owner:emqx
Title :  Several memory leak defects were detected in NanoMQ.
Issue date:

--- start body ---
Hello, I am a graduate student, and my research focus is on static analysis of programs. Recently, when I conducted static analysis on NanoMQ, I detected several code locations that potentially have memory leak issues. Some of these defects are located within the NanoMQ codebase, while others are within the NanoMQ library, nng. Detailed information describing these defects can be found at the following link:
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_2.md
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_3.md
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_4.md
https://github.com/LuMingYinDetect/nanomq_defects/blob/main/nanomq_detect_5.md
--- end body ---
