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

[STR New]

Link: http://www.fltk.org/str.php?L2647
Version: 1.3-current


Neat patch; looks like it gets rid of unused XTextProperty vars, and
reimplements buffer handling more carefully.

One question: does the following new code leak memory if you "return true"
when portion!=NULL? eg:

----
      if ((portion == NULL) || (format != 8) || (count == 0))
        return true;
----

The original code seems to make sure portion gets free'd before
returning from the function, so wondering if that should read:

----
      if ((portion == NULL) || (format != 8) || (count == 0)) {
        if ( portion ) XFree(portion);
        return true;
      }
----


Link: http://www.fltk.org/str.php?L2647
Version: 1.3-current

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

Reply via email to