]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #4139: Fix unbound-host leaks memory on ANY.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 31 Jul 2018 11:58:19 +0000 (11:58 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 31 Jul 2018 11:58:19 +0000 (11:58 +0000)
git-svn-id: file:///svn/unbound/trunk@4821 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-host.c

index 2d237422c0b3f8574911755e362854035784b498..76415028092555e92993abc77ee8dcf0478e7933 100644 (file)
@@ -17,6 +17,7 @@
          apply cleanly.  Also remade yacc and lex.
        - Fix mesh.c incompatible pointer pass.
        - Please doxygen so it passes.
+       - Fix #4139: Fix unbound-host leaks memory on ANY.
 
 30 July 2018: Wouter
        - Fix #4136: insufficiency from mismatch of FLEX capability between
index 53bf3277ff9ba032da5f860982f7787925f34f33..f02511fe56138dc4045539fc146bf4fb4db5ac87 100644 (file)
@@ -340,6 +340,7 @@ pretty_output(char* q, int t, int c, struct ub_result* result, int docname)
                                        exit(1);
                                }
                                printf("%s\n", s);
+                               free(s);
                        } else  printf(" has no %s record", tstr);
                        printf(" %s\n", secstatus);
                }