Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a refcount to library init/cleanup #1691

Merged
merged 1 commit into from May 20, 2020
Merged

Commits on May 16, 2020

  1. 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]>
    Martin Kelly committed May 16, 2020
    Copy the full SHA
    6a4c90e View commit details
    Browse the repository at this point in the history