It seems that I lose mem in the scale_pixbuf function..
And in other sites, I use valgrind to check this but I couldn't find the source..
iPdf has a destroy method that unrefs all pages, I think is called
In gloobus-preview-singleton line 128 there is the destroy plugin function called everytime you change file or you quit gloobus-preview.
It calls the end function and the destructors as it destroys the plugin.
the iDocument::destroy does nothing cause its done by the iPdf plugin, if you run with --debug i think you'll see the destroyng page messages..
but sure there are more memleaks
I'll merge with your patch and try to track more of them today
It seems that I lose mem in the scale_pixbuf function..
And in other sites, I use valgrind to check this but I couldn't find the source..
iPdf has a destroy method that unrefs all pages, I think is called
In gloobus- preview- singleton line 128 there is the destroy plugin function called everytime you change file or you quit gloobus-preview.
It calls the end function and the destructors as it destroys the plugin.
the iDocument::destroy does nothing cause its done by the iPdf plugin, if you run with --debug i think you'll see the destroyng page messages..
but sure there are more memleaks
I'll merge with your patch and try to track more of them today
Thanks!