Commit 61a50c60 authored by Martin Kelly's avatar Martin Kelly Committed by Roger 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 eae8c9aa
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