Skip to content

Fix pixbuf leaking format name - #241

Open
richcarni wants to merge 1 commit into
Kozea:mainfrom
richcarni:fix-pixbuf-format-name-leak
Open

richcarni wants to merge 1 commit into
Kozea:mainfrom
richcarni:fix-pixbuf-format-name-leak

Conversation

@richcarni

Copy link
Copy Markdown

Free the pointer returned by gdk_pixbuf_format_get_name()

Fixes #239, #240

Free the pointer returned by gdk_pixbuf_format_get_name()

Fixes Kozea#239, Kozea#240
@richcarni

Copy link
Copy Markdown
Author
========================================================= test session starts ==========================================================
platform linux -- Python 3.12.3, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/rich/src/cairocffi
configfile: pyproject.toml
collected 53 items / 1 skipped

cairocffi/test_cairo.py ...............................................                                                          [ 88%]
cairocffi/test_numpy.py .                                                                                                        [ 90%]
cairocffi/test_pixbuf.py .....                                                                                                   [100%]

==================================================== 53 passed, 1 skipped in 0.76s =====================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pixbuf decode leaking format name

1 participant