On Mon, 2010-11-01 at 09:02 +0100, Gert Faller wrote: > I was just wondering if freeing some bytes was worth while. > A patch for this...
re: realloc_patch_3.patch Yeah, it's probably a bit expensive to realloc in order to drop a tiny amount of bytes, but its an unlikely code path anyway so patch applied and warning silenced :-). Pushed. re: realloc_patch_4.patch Tracing the logic, yes this look good. a failure on realloc will trundle down past everything else and end up with a return false which is what we want here. Pushed. C. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice