Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
9c476db4
Commit
9c476db4
authored
Dec 08, 2017
by
Mark Andrews
Browse files
4844. [test] Address memory leaks in libatf-c. [RT #46798]
(cherry picked from commit
1c794002
)
parent
cb9613f8
Changes
4
Show whitespace changes
Inline
Side-by-side
CHANGES
View file @
9c476db4
4844. [test] Address memory leaks in libatf-c. [RT #46798]
4843. [bug] dnssec-signzone free hashlist on exit. [RT #46791]
4842. [bug] Conditionally compile opensslecdsa_link.c to avoid
...
...
unit/atf-src/atf-c/detail/map.c
View file @
9c476db4
...
...
@@ -364,6 +364,7 @@ atf_map_insert(atf_map_t *m, const char *key, void *value, bool managed)
if
(
atf_is_error
(
err
))
{
if
(
managed
)
free
(
value
);
free
(
me
->
m_key
);
free
(
me
);
}
}
...
...
unit/atf-src/atf-c/detail/tp_main.c
View file @
9c476db4
...
...
@@ -285,6 +285,7 @@ list_tcs(const atf_tp_t *tp)
atf_utils_free_charpp
(
vars
);
}
free
(
tcs
);
}
/* ---------------------------------------------------------------------
...
...
unit/atf-src/atf-c/tc.c
View file @
9c476db4
...
...
@@ -614,7 +614,9 @@ void
atf_tc_fini
(
atf_tc_t
*
tc
)
{
atf_map_fini
(
&
tc
->
pimpl
->
m_vars
);
atf_map_fini
(
&
tc
->
pimpl
->
m_config
);
free
(
tc
->
pimpl
);
tc
->
pimpl
=
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