Re: Balsa GIT Version 2.5.6-132-gd0a939688 - Feedback



Hi John Jack Doe:

Am 20.01.19 18:07 schrieb(en) JohnJackDoe tele2 de:
I did as you told me. I hope it helps.

It does!  Stupid bug, which occurs every time when the request for a Message Disposition Notification is 
activated.  Easy to fix, as attached…

Thanks a lot,
Albrecht.
diff --git a/libbalsa/message.c b/libbalsa/message.c
index d9ad40d..ce1cbba 100644
--- a/libbalsa/message.c
+++ b/libbalsa/message.c
@@ -820,7 +820,9 @@
 {
     g_return_if_fail(message);
 
-    g_object_unref(message->headers->dispnotify_to);
+    if (message->headers->dispnotify_to != NULL) {
+       g_object_unref(message->headers->dispnotify_to);
+    }
     if (ia) {
        message->headers->dispnotify_to = internet_address_list_new ();
        internet_address_list_add (message->headers->dispnotify_to, ia);

Attachment: pgp9U2aCYGsYk.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]