On Wed, 14 Nov 2012 at 19:34:42 +0100, Rodolfo García Peñas wrote: > Ok, > > seems to be ok now :-) > > --- a/src/icon.c > +++ b/src/icon.c > @@ -778,8 +778,10 @@ static int get_rimage_icon_from_wm_hints(WIcon *icon) > /* Resize the icon to the wPreferences.icon_size size */ > image = wIconValidateIconSize(image, wPreferences.icon_size); > > - /* FIXME: If unset_icon_image, pointer double free then crash > - unset_icon_image(icon); */ > + unset_icon_image(icon); > + > + /* Set the new info */ > + icon->file = NULL; > icon->file_image = image;
But why setting icon->file to NULL helps? What goes wrong otherwise? -- To unsubscribe, send mail to [email protected].
