Fix: liblttng-ust-fork Makefile flags mismatch
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index d7214370821d05b459a49a188b69734ab58139b7..946584a3898ff616044b222bdfffd9d1d620427e 100644 (file)
@@ -286,7 +286,7 @@ int handle_message(struct sock_info *sock_info,
                if (lum->handle == LTTNG_UST_ROOT_HANDLE)
                        ret = -EPERM;
                else
-                       ret = lttng_ust_objd_unref(lum->handle);
+                       ret = lttng_ust_objd_unref(lum->handle, 1);
                break;
        case LTTNG_UST_FILTER:
        {
@@ -549,7 +549,7 @@ void cleanup_sock_info(struct sock_info *sock_info, int exiting)
                sock_info->socket = -1;
        }
        if (sock_info->root_handle != -1) {
-               ret = lttng_ust_objd_unref(sock_info->root_handle);
+               ret = lttng_ust_objd_unref(sock_info->root_handle, 1);
                if (ret) {
                        ERR("Error unref root handle");
                }
This page took 0.023695 seconds and 4 git commands to generate.