<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3303: mh_buffy leaks memory



#3303: mh_buffy leaks memory
---------------------+------------------------------------------------------
  Reporter:  kees    |       Owner:  mutt-dev
      Type:  defect  |      Status:  new     
  Priority:  minor   |   Milestone:          
 Component:  mutt    |     Version:          
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------

Comment(by kees):

 Additionally, mh_read_sequences does not return "rc", but always "0":

 {{{
     rc = -1;
     goto out;
       }
       for (; first <= last; first++)
     mhs_set (mhs, first, f);
     }
   }

   rc = 0;

 out:
   FREE (&buff);
   safe_fclose (&fp);
   return 0;
 }}}

 should be

 {{{
   return rc;
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3303#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent