Commit 8d54aaef authored by Martin Kelly's avatar Martin Kelly Committed by Roger A. Light
Browse files

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: default avatarMartin Kelly <mkelly@xevo.com>
parent 22ffefe7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment