Re: master to dbmail_3_1 commits picking

Pavlo Lavrenenko <santa-IUlZPdMEdC1Wk0Htik3J/[email protected]>
Newsgroups gmane.mail.imap.dbmail.devel
Message-ID <[email protected]>
On 09/20/2013 04:21 PM, Paul J Stevens wrote:
> That depends. They will go into master if they are indeed useful. Only
> if they fix important bugs or are trivial, and don't require schema
> changes will I consider them for 3.1

Got it, I will publish what I have.
Till than, can you please pick next chunk from 6e8be984:

diff --git a/src/dm_message.c b/src/dm_message.c
index a0a0bb7..0cd33bd 100644
--- a/src/dm_message.c
+++ b/src/dm_message.c
@@ -496,8 +496,8 @@ static DbmailMessage * _mime_retrieve(DbmailMessage *self)
         END_TRY;

         if ((row == 0) || (t == DM_EQUERY)) {
-               if (m)
-                       p_string_free(m,TRUE);
+               if (m) p_string_free(m, TRUE);
+               if (n) p_string_free(n, TRUE);
                 return NULL;
         }


I guess a small memory leak fix is always appreciated.

-- 
Best regards,
Pavlo Lavrenenko,
PortaOne, Inc., Junior Software Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7624

PortaOne - VoIP Solutions Company
Visit our Website: http://www.portaone.com
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.