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 <mkelly@xevo.com>
parent
eae8c9aa
Please register or sign in to comment