projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: comment in ust-ctl.h
[lttng-ust.git]
/
liblttng-ust-ctl
/
ustctl.c
diff --git
a/liblttng-ust-ctl/ustctl.c
b/liblttng-ust-ctl/ustctl.c
index 7a76b7dda32841c186e8cef862e0a4689e3c6a2f..d443a2978db76d67d96fcb21b0e0353e60c2b0c2 100644
(file)
--- a/
liblttng-ust-ctl/ustctl.c
+++ b/
liblttng-ust-ctl/ustctl.c
@@
-248,7
+248,7
@@
error:
}
/*
}
/*
- * Return -
E
NOENT if no more stream is available for creation.
+ * Return -
LTTNG_UST_ERR_
NOENT if no more stream is available for creation.
* Return 0 on success.
* Return negative error value on system error.
* Return positive error value on UST error.
* Return 0 on success.
* Return negative error value on system error.
* Return positive error value on UST error.
@@
-685,6
+685,7
@@
struct lttng_ust_shm_handle *ustctl_map_channel(struct lttng_ust_object_data *ch
default:
ERR("Unknown client type %d", config->client_type);
channel_destroy(chan, handle, 1);
default:
ERR("Unknown client type %d", config->client_type);
channel_destroy(chan, handle, 1);
+ free(handle->shadow_chan);
return NULL;
}
/* Replace the object table pointer. */
return NULL;
}
/* Replace the object table pointer. */
@@
-735,6
+736,7
@@
void ustctl_unmap_channel(struct lttng_ust_shm_handle *handle)
assert(handle);
chan = shmp(handle, handle->chan);
channel_destroy(chan, handle, 1);
assert(handle);
chan = shmp(handle, handle->chan);
channel_destroy(chan, handle, 1);
+ free(handle->shadow_chan);
}
/*
}
/*
This page took
0.028448 seconds
and
4
git commands to generate.