On Wed, Mar 15, 2006 at 11:40:09AM -0800, Aaron Stone wrote:
> Sorry, I haven't had a chance to look at it yet. Could you use LMTP in
> the mean time? 

Quickie patch to fix a segfault on dbmail-smtp -h attached.  We could
alternately just bail out with an exit() when we hit that option..

Matt
Index: dbmail-message.c
===================================================================
--- dbmail-message.c    (revision 2027)
+++ dbmail-message.c    (working copy)
@@ -164,6 +164,10 @@
 
 void dbmail_message_free(struct DbmailMessage *self)
 {
+       if (!self) {
+               return;
+       }
+
        if (self->headers)
                g_relation_destroy(self->headers);
        if (self->content)

Reply via email to