Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
68c40a2e
Commit
68c40a2e
authored
Apr 27, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libhutils: nullify free'd hutils_hints_t fields
parent
bb849243
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
hutils_utils.c
src/libs/libhutils/src/hutils_utils.c
+2
-0
No files found.
src/libs/libhutils/src/hutils_utils.c
View file @
68c40a2e
...
...
@@ -339,7 +339,9 @@ static void _hutils_hints_free_item (void **data)
if
(
*
data
)
{
hutils_hints_t
*
item
=
*
data
;
free
(
item
->
fmc_board
);
item
->
fmc_board
=
NULL
;
free
(
item
->
bind
);
item
->
bind
=
NULL
;
free
(
item
);
*
data
=
NULL
;
}
...
...
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