Displaying 3 results from an estimated 3 matches for "flactag".
2011 Jun 10
2
Memory leak using libflac++
Hi all,
I'm the author of flactag, a utility for tagging whole-album FLAC files with
embedded CUE sheets using data from the MusicBrainz servers.
I've recently run it through valgrind, and I'm seeing memory leaks like the
following:
12 bytes in 1 blocks are definitely lost in loss record 1 of 5
at 0x402377E: operator new(...
2011 Jun 11
0
Flac-dev Digest, Vol 79, Issue 3
...t; From: Andy Hawkins <andy at gently.org.uk>
> Subject: [Flac-dev] Memory leak using libflac++
> To: flac-dev at xiph.org
> Message-ID: <slrniv4elt.uti.andy at atom.gently.org.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi all,
>
> I'm the author of flactag, a utility for tagging whole-album FLAC files
> with
> embedded CUE sheets using data from the MusicBrainz servers.
>
> I've recently run it through valgrind, and I'm seeing memory leaks like the
> following:
>
> 12 bytes in 1 blocks are definitely lost in loss record 1...
2011 Jun 11
0
Memory leak using libflac++
...malloc.c:224)
> by 0x41448A8: FLAC::Metadata::local::construct_block(FLAC__StreamMetadata*)
> (in /usr/lib/libFLAC++.so.6.2.0) ? by 0x41455D7:
> FLAC::Metadata::Iterator::get_block() (in /usr/lib/libFLAC++.so.6.2.0)
> by 0x8072CB5: CFlacInfo::Read() (FlacInfo.cc:154)
> by 0x8054BF4: CFlacTag::LoadData() (flactag.cc:543)
> by 0x8058D45: CFlacTag::CFlacTag(CCommandLine const&) (flactag.cc:134)
> by 0x805D4E2: main (flactag.cc:66)
>
> In my code, the offending line is:
>
> m_PictureBlock=(FLAC::Metadata::Picture*)Iterator.get_block();
I've never used the C++ API...