public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/pinentry/files: pinentry-0.9.1-memleak.patch
@ 2015-05-03 15:17 Alon Bar-Lev (alonbl)
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev (alonbl) @ 2015-05-03 15:17 UTC (permalink / raw
  To: gentoo-commits

alonbl      15/05/03 15:17:14

  Added:                pinentry-0.9.1-memleak.patch
  Log:
  Version bump, bug#548456
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)

Revision  Changes    Path
1.1                  app-crypt/pinentry/files/pinentry-0.9.1-memleak.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/files/pinentry-0.9.1-memleak.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/pinentry/files/pinentry-0.9.1-memleak.patch?rev=1.1&content-type=text/plain

Index: pinentry-0.9.1-memleak.patch
===================================================================
From 03e4207f11e228a4c079af991f82507539793bae Mon Sep 17 00:00:00 2001
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Tue, 28 Apr 2015 13:01:16 -0400
Subject: [PATCH] fix small memory leak in pinentry-curses

* pinentry/pinentry-curses.c: free internally allocated local string.
---
 pinentry/pinentry-curses.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pinentry/pinentry-curses.c b/pinentry/pinentry-curses.c
index 4b7080e..043f8a9 100644
--- a/pinentry/pinentry-curses.c
+++ b/pinentry/pinentry-curses.c
@@ -199,6 +199,8 @@ utf8_to_local (char *lc_ctype, char *string)
   memset (&ps, 0, sizeof(mbstate_t));
   mbsrtowcs (wcs, &p, len, &ps);
 
+  free (local);
+  
  leave:
   if (old_ctype)
     {
-- 
2.1.4






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-crypt/pinentry/files: pinentry-0.9.1-memleak.patch
@ 2015-06-07 15:31 Kristian Fiskerstrand (k_f)
  0 siblings, 0 replies; 2+ messages in thread
From: Kristian Fiskerstrand (k_f) @ 2015-06-07 15:31 UTC (permalink / raw
  To: gentoo-commits

k_f         15/06/07 15:31:46

  Removed:              pinentry-0.9.1-memleak.patch
  Log:
  Remove a redundant patch file after previous cleanup
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x250B7AFED6379D85!)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-07 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-07 15:31 [gentoo-commits] gentoo-x86 commit in app-crypt/pinentry/files: pinentry-0.9.1-memleak.patch Kristian Fiskerstrand (k_f)
  -- strict thread matches above, loose matches on Subject: below --
2015-05-03 15:17 Alon Bar-Lev (alonbl)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox