[balsa/gtk3] Suppress memory leak warning
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Suppress memory leak warning
- Date: Sun, 22 Jul 2012 19:43:57 +0000 (UTC)
commit f6ed424591ed9f504885ae059cafdd2414c1e43a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Jul 22 15:31:30 2012 -0400
Suppress memory leak warning
* libbalsa/send.c (balsa_send_message_real): suppress memory
leak warning.
ChangeLog | 5 +++++
libbalsa/send.c | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 23f59d4..51e3828 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-07-22 Peter Bloomfield
+ * libbalsa/send.c (balsa_send_message_real): suppress memory
+ leak warning.
+
+2012-07-22 Peter Bloomfield
+
* libbalsa/message.c (prepend_header_misc): check loop index
value before using it.
diff --git a/libbalsa/send.c b/libbalsa/send.c
index e5970b9..8ae3c44 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1470,6 +1470,8 @@ balsa_send_message_real(SendMessageInfo* info)
smtp_destroy_session (info->session);
send_message_info_destroy(info);
+ /* threadmsg is not leaked: */
+ /* cppcheck-suppress memleak */
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]