All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH: Memory leak appending original mail
@ 2010-01-26 10:02 Ben Schmidt
  2010-02-03  4:02 ` Ben Schmidt
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ben Schmidt @ 2010-01-26 10:02 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 45 bytes --]

I found a memory leak. Patch attached.
Ben.


[-- Attachment #2: mlmmj-origmail-memleak.patch --]
[-- Type: text/x-patch, Size: 298 bytes --]

diff -r 99ec9f826d35 src/prepstdreply.c
--- a/src/prepstdreply.c	Tue Jan 26 18:25:03 2010 +1100
+++ b/src/prepstdreply.c	Tue Jan 26 20:54:10 2010 +1100
@@ -145,6 +145,7 @@
 				value = concatstr(3, value, " ", str);
 				if(tmp)
 					myfree(tmp);
+				myfree(str);
 				count++;
 			}
 			if(str)

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

end of thread, other threads:[~2010-02-16 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 10:02 PATCH: Memory leak appending original mail Ben Schmidt
2010-02-03  4:02 ` Ben Schmidt
2010-02-16  6:15 ` Morten Shearman Kirkegaard
2010-02-16  7:35 ` Ben Schmidt
2010-02-16 17:00 ` Morten Shearman Kirkegaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.