projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2f50c8a
)
Merge branch 'master' of git://git.lttng.org/lttng-tools
author
David Goulet
<david.goulet@polymtl.ca>
Fri, 26 Aug 2011 20:20:03 +0000
(16:20 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Fri, 26 Aug 2011 20:20:03 +0000
(16:20 -0400)
liblttngctl/lttngctl.c
patch
|
blob
|
blame
|
history
diff --git
a/liblttngctl/lttngctl.c
b/liblttngctl/lttngctl.c
index b64ace2e6d80de0ce085791f698604e53f8eb523..4b803dc5b06e4ee76a56caf388d6af3b7911cd18 100644
(file)
--- a/
liblttngctl/lttngctl.c
+++ b/
liblttngctl/lttngctl.c
@@
-152,6
+152,10
@@
static int check_tracing_group(const char *grp_name)
/* Alloc group list of the right size */
grp_list = malloc(grp_list_size * sizeof(gid_t));
+ if (!grp_list) {
+ ret = -1;
+ goto end;
+ }
grp_id = getgroups(grp_list_size, grp_list);
if (grp_id < -1) {
perror("getgroups");
This page took
0.026467 seconds
and
4
git commands to generate.