Package: python-gpod Version: 0.4.2-2 Severity: important Submitter: Alex Cornejo <[EMAIL PROTECTED]>
On Mon, May 21, 2007 at 02:31:36AM -0500, Alex Cornejo wrote: > Hi, I believe I found a bug in python-gpod. Please report it as a bug then instead of emailing the maintainer directly. This way the chance of your report getting overlooked or lost is way smaller. Doing so now for you. > It seems that the function "itdb_thumb_get_gdk_pixbuf" is made to > return a "gpointer *", however it should return a gdk.pixbuf object > instance, otherwise there is a memory leak in swig/python. > > Each this function is called (when I am debugging python programs from > the console) the following error is printed: > > swig/python detected a memory leak of type 'gpointer *', no destructor > found. > > I believe the bug severity to be medium/serious since for ipods with > large databases (>10,000 songs, which is not uncommon at all) this > leak could potentially result in leaking almost 1GB of memory (each > thumbnail occupies 80k in the ipod, 10,000*80k=800mb). I have no knowledge of the workings of python bindings. Will forward your report to upstream, though. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]