projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'upstream/3.2.0'
[debian/amanda]
/
client-src
/
selfcheck.c
diff --git
a/client-src/selfcheck.c
b/client-src/selfcheck.c
index bbfcd67daad6506cbd224ef7dfe32685421425dd..a68f39e4f47a455a4575f03bbd906a2c2c111ddb 100644
(file)
--- a/
client-src/selfcheck.c
+++ b/
client-src/selfcheck.c
@@
-306,7
+306,7
@@
main(
if (am_has_feature(g_options->features, fe_req_xml)) {
char *errmsg = NULL;
if (am_has_feature(g_options->features, fe_req_xml)) {
char *errmsg = NULL;
- dle_t *dles, *dle;
+ dle_t *dles, *dle
, *dle_next
;
dles = amxml_parse_node_FILE(stdin, &errmsg);
if (errmsg) {
dles = amxml_parse_node_FILE(stdin, &errmsg);
if (errmsg) {
@@
-329,6
+329,10
@@
main(
run_client_scripts(EXECUTE_ON_POST_HOST_AMCHECK, g_options, dle,
stdout);
}
run_client_scripts(EXECUTE_ON_POST_HOST_AMCHECK, g_options, dle,
stdout);
}
+ for (dle = dles; dle != NULL; dle = dle_next) {
+ dle_next = dle->next;
+ free_dle(dle);
+ }
}
check_overall();
}
check_overall();