[balsa/gtk3] Plug memory leak
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Plug memory leak
- Date: Mon, 16 Jul 2012 02:58:44 +0000 (UTC)
commit 14e47ca45eeb9c781c743ebf391450800d9ef520
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Jul 15 22:33:00 2012 -0400
Plug memory leak
* src/sendmsg-window.c (edit_with_gnome): plug mem leak.
ChangeLog | 4 ++++
src/sendmsg-window.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 321f39f..bf297aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-07-15 Peter Bloomfield
+ * src/sendmsg-window.c (edit_with_gnome): plug mem leak.
+
+2012-07-15 Peter Bloomfield
+
* libbalsa/address.c (libbalsa_address_extract_name): plug mem
leak.
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 14996f6..7860396 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1250,6 +1250,7 @@ edit_with_gnome(GtkAction * action, BalsaSendmsg* bsmsg)
fclose(tmp);
if ((pid = fork()) < 0) {
perror ("fork");
+ g_strfreev(argv);
return;
}
if (pid == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]