DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2277
Version: 1.3-current
Fix Version: 1.3.0 (r7925)


I posted file fltk-1.3.o-r7979-str2277-workaround-v2.patch.

This patch sets 'text_lists' to 'portion' in the event that 'list_count'
is 0.

I have compiled and tested and confirm that this patch fixes the DnD
segfault I was experiencing with r7979.


ASIDE: The reason that this is v2 of the patch is that in the original
patch, the test of whether not not to call XFreeStringList() on text_list
was done after XFree() was called on portion. Though AFAICT, XFree()
doesn't change the address of portion, I thought it would be prudent to
ensure that XFree(portion) was called after (potentially) calling
XFreeStringList().


Link: http://www.fltk.org/str.php?L2277
Version: 1.3-current
Fix Version: 1.3.0 (r7925)

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to