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

Albrecht Dreß <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
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.

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
fix-set-mdn-critical.diff (text/x-patch, 506 B)
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);
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAlxEvP4ACgkQTKlvDmfn
2fh5Awf/YipU2KcJHtHk7xEmf6Gi+IjHF/sdgxPIvNj0McjR3a+AYgTNTpVeRal6
pbRljnREYG4TRUCD/UW1FrL+tZs8sTFv0DTgqo03bM4ZqHpNGvWBipQcvRZod0c6
AeC9RwqgHQ2pyE7PpcJ0FKRz02d+X+rgR+B4SPNnRXcH6BtiooNN4A0CF9s32s+I
gm4R6VHFi6QYvKu90FkBUe5L17FVlCP5qW1idm9Sd5Olp7QLScEJcMz+KIFyoJDy
sGu/xWCKRv2KAG1mp0eKyxd7U2mhy5946fQgHW10S39cpTqMKiWld2YExWeOYolH
/5nsxT+sAPeWE2iwWE1qIV4JSfA89A==
=3PZm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.