Re: music browser
"David Hough" <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, In regards to the mention of a memory leak when scrolling any of the lists in musicbrowsermm, I don't know if this has been fixed yet(I'm having to use a windows only machine at the moment), but looking through the code using Browse CVS I think I found where the problem might be. In GTKMusicList::scrolledwindow_changed_visible(), the line path_returned = m_listMusic.get_path_at_pos(widget_x, widget_y, NewPath, TempColumn, widget_x, widget_y); fills in the TempColumn pointer. However the object TempColumn points to is never deleted, or even used for that matter. So a simple delete TempColumn; after that line should fix the problem, hopefully. David ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf