Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a refcount to library init/cleanup
Add a refcount around mosquitto_lib_init and mosquitto_lib_cleanup so that multiple calls to init/cleanup don't trigger memory leaks or double-frees. Signed-off-by: Martin Kelly <[email protected]>
- Loading branch information