Hi John Jack Doe:

Am 20.01.19 18:07 schrieb(en) [email protected]:
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: pgpRgArpCgKhl.pgp
Description: PGP signature

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to