Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
0d2a1e42
Unverified
Commit
0d2a1e42
authored
May 03, 2018
by
danh-arm
Committed by
GitHub
May 03, 2018
Browse files
Merge pull request #1374 from jonathanwright-ARM/jw/fix-memory-leaks-in-fiptool
Fix memory leaks in fiptool
parents
0ef858bd
8d283231
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/fiptool/fiptool.c
View file @
0d2a1e42
...
@@ -169,7 +169,10 @@ static void free_image_desc(image_desc_t *desc)
...
@@ -169,7 +169,10 @@ static void free_image_desc(image_desc_t *desc)
free
(
desc
->
name
);
free
(
desc
->
name
);
free
(
desc
->
cmdline_name
);
free
(
desc
->
cmdline_name
);
free
(
desc
->
action_arg
);
free
(
desc
->
action_arg
);
if
(
desc
->
image
)
{
free
(
desc
->
image
->
buffer
);
free
(
desc
->
image
);
free
(
desc
->
image
);
}
free
(
desc
);
free
(
desc
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment