projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
22fae25
)
Fix: leak of lttng_elf_shdr in lttng-elf.c
author
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 17:18:32 +0000
(13:18 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 17:18:32 +0000
(13:18 -0400)
Most lttng_elf_shdr uses in lttng-elf.c end-up leaking the header.
Since those headers instances are always short-lived and relatively
small, these leaks are fixed by not using dynamic allocations and
instead using automatic storage.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
No differences found
This page took
0.026555 seconds
and
5
git commands to generate.