[SCM] GNU gnutls branch, master, updated. gnutls_3_0_11-53-gc7a40d2

"Simon Josefsson" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.cvs
Message-ID <[email protected]>
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 "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=c7a40d27413e2818db4e275f8f9fb2370b39a912

The branch, master has been updated
       via  c7a40d27413e2818db4e275f8f9fb2370b39a912 (commit)
      from  0ed881bd33f70f0bc211128a2ef1090952fa4337 (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 c7a40d27413e2818db4e275f8f9fb2370b39a912
Author: Simon Josefsson <[email protected]>
Date:   Sat Jan 14 22:05:31 2012 +0100

    Fix memory leak.

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

Summary of changes:
 lib/gnutls_pk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c
index ef3bfc6..3529c1d 100644
--- a/lib/gnutls_pk.c
+++ b/lib/gnutls_pk.c
@@ -1,6 +1,5 @@
 /*
- * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010
- * Free Software Foundation, Inc.
+ * Copyright (C) 2001-2012 Free Software Foundation, Inc.
  *
  * Author: Nikos Mavrogiannopoulos
  *
@@ -255,6 +254,7 @@ _gnutls_pkcs1_rsa_decrypt (gnutls_datum_t * plaintext,
   if (plaintext->data[0] != 0 || plaintext->data[1] != btype)
     {
       gnutls_assert ();
+      _gnutls_free_datum (plaintext);
       return GNUTLS_E_DECRYPTION_FAILED;
     }
 


hooks/post-receive
-- 
GNU gnutls
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.