Comment 0 for bug 1996946

Revision history for this message
Alejandro (alejandro-claro) wrote : Memory leak on every frmae when reading GIF animations

There is a big memory leak when reading GIF animations.

The issue was identified and fixed in gdk-pixbuf two (2) years ago, but it was released in a version grater that the available in Ubuntu 20.04.

At first glance, the leak appears only when a static image is requested, but this function is used by pixbuf's upload functions and calls this function internally. So the leak happens every time a GIF is loaded.

Here is the commit with the fix releases in version 2.41:

https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/dd3aa9ed64a0a370c8150f98e849ffc6e73da827

A patch is attached to this message.