#151 Memory leak in libsox's sox_close().

closed
nobody
None
5
2011-02-14
2009-12-29
No

There is a missing :

free(ft->priv);

in sox_close(), because of which, a program that simply does :

sox_init();
for( int i = 0; i < 100000; ++i ) {
sox_format_t * in = sox_open_read(argv[1], NULL, NULL, NULL);
sox_close(in);
}
sox_quit();

leaks memory, which makes libsox unusable for my project - would it be possible to know (if even roughly) in which release this is likely to be fixed?

Thanks for reading.

Varun

Discussion

  • Chris Bagwell

    Chris Bagwell - 2009-12-30

    It is already fixed in CVS and will be in 14.3.1. We are currently issuing "release candidates" and will most likely be officially released before a months time.

     
  • Chris Bagwell

    Chris Bagwell - 2011-02-14
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks