On 05.12.2014 12:10, "Torsten Schönfeld" wrote:
Ah, I think I see the problem then.  We free the list returned by 
gdk_display_list_devices:

https://git.gnome.org/browse/perl-Gtk2/tree/xs/GdkDisplay.xs#n59

But its docs state that "[t]he list is statically allocated and should not be 
freed."

https://developer.gnome.org/gdk2/stable/GdkDisplay.html#gdk-display-list-devices

So the g_list_free call needs to be removed.

Fixed now: <https://git.gnome.org/browse/perl-Gtk2/commit/?id=4856da628ce37099b27b66a88141dc6daad693b0>.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to