projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use type directly in sizeof instead of a dereferenced pointer
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
agent.c
diff --git
a/src/bin/lttng-sessiond/agent.c
b/src/bin/lttng-sessiond/agent.c
index ca2d4c872931632f4e5d46cb9c6b17b6b3d0d8ed..0f61a75d612c0d927b7721edc6ff3b0f0867e6d5 100644
(file)
--- a/
src/bin/lttng-sessiond/agent.c
+++ b/
src/bin/lttng-sessiond/agent.c
@@
-802,7
+802,7
@@
struct agent *agent_create(enum lttng_domain_type domain)
int ret;
struct agent *agt;
- agt = zmalloc(sizeof(
*ag
t));
+ agt = zmalloc(sizeof(
struct agen
t));
if (!agt) {
goto error;
}
This page took
0.025535 seconds
and
5
git commands to generate.