On 19 August 2010 09:02, Stefan Thomas <[email protected]> wrote:
>
>> There are memory leaks in [...]
>>
>> When the writer fails to close, right?
>
> Oh yes, sorry about that! An additional delete[] row; should clean it up
> nicely.

Moving the `delete[] row;` should avoid requiring two identical lines:

      delete[] row;
+      if (!writer->close()) {
+        return splashErrGeneric;
+      }

- Reece
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to