[balsa: 3/4] send: Do not leak syslog_msg
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa: 3/4] send: Do not leak syslog_msg
- Date: Sun, 6 Mar 2022 16:42:16 +0000 (UTC)
commit 1a109dc682f4b135d4a26498df3136dc332607ef
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Mar 6 11:40:42 2022 -0500
send: Do not leak syslog_msg
in balsa_send_message_syslog().
libbalsa/send.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libbalsa/send.c b/libbalsa/send.c
index d666c94c7..eb145bfba 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1005,6 +1005,7 @@ balsa_send_message_syslog(const gchar *smtp_server,
syslog(LOG_MAIL | LOG_NOTICE, "%s Error='%s'", syslog_msg->str,
(server_error != NULL) ? server_error->message : "unknown");
}
+ g_string_free(syslog_msg, TRUE);
}
static gpointer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]