projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038238a
)
Change malloc to zmalloc on UST metadata creation
author
David Goulet
<david.goulet@polymtl.ca>
Mon, 14 Nov 2011 17:09:31 +0000
(12:09 -0500)
committer
David Goulet
<david.goulet@polymtl.ca>
Mon, 14 Nov 2011 17:11:14 +0000
(12:11 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/trace-ust.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng-sessiond/trace-ust.c
b/lttng-sessiond/trace-ust.c
index a7c853530d0ab7db9906c588d7da72c9a4e3ced5..3916c1f5de97c8dc46fdb650b2f91edd6d971bbe 100644
(file)
--- a/
lttng-sessiond/trace-ust.c
+++ b/
lttng-sessiond/trace-ust.c
@@
-245,7
+245,7
@@
struct ltt_ust_metadata *trace_ust_create_metadata(char *path)
int ret;
struct ltt_ust_metadata *lum;
- lum = malloc(sizeof(struct ltt_ust_metadata));
+ lum =
z
malloc(sizeof(struct ltt_ust_metadata));
if (lum == NULL) {
perror("ust metadata malloc");
goto error;
This page took
0.026039 seconds
and
4
git commands to generate.