Re: segfault using extension events in Gtk2's scribble.pl
- From: Torsten Schönfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: segfault using extension events in Gtk2's scribble.pl
- Date: Sat, 17 Jan 2015 15:01:41 +0100
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>.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]