mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-19 14:33:52 +08:00
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 <mkelly@xevo.com>