[git] GnuPG - branch, master, updated. gnupg-2.1.13-87-g6bfbc36

by Justus Winter cvs at cvs.gnupg.org
Fri Jul 1 09:48:52 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  6bfbc368f90b274192d3751274816091675f5109 (commit)
      from  8f39185d7bfa0bc749f9ccf4a041d2da4eba24ff (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6bfbc368f90b274192d3751274816091675f5109
Author: Justus Winter <justus at g10code.com>
Date:   Fri Jul 1 09:47:48 2016 +0200

    Fix trivial memory leaks in tests.
    
    * dirmngr/t-ldap-parse-uri.c (check_ldap_escape_filter): Free result.
    * g10/t-stutter.c (main): Free file name.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/dirmngr/t-ldap-parse-uri.c b/dirmngr/t-ldap-parse-uri.c
index 100ce0d..145b47a 100644
--- a/dirmngr/t-ldap-parse-uri.c
+++ b/dirmngr/t-ldap-parse-uri.c
@@ -222,6 +222,8 @@ check_ldap_escape_filter (int test_count, struct test_ldap_escape_filter *test)
 	      test->filter, result, test->result);
       fail (test_count * 1000);
     }
+
+  xfree (result);
 }
 
 static void
diff --git a/g10/t-stutter.c b/g10/t-stutter.c
index 9576027..f3fc653 100644
--- a/g10/t-stutter.c
+++ b/g10/t-stutter.c
@@ -606,5 +606,6 @@ main (int argc, char *argv[])
       log_fatal ("Message is too short, nothing to test.\n");
   }
 
+  xfree (filename);
   return failed;
 }

-----------------------------------------------------------------------

Summary of changes:
 dirmngr/t-ldap-parse-uri.c | 2 ++
 g10/t-stutter.c            | 1 +
 2 files changed, 3 insertions(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list