# HG changeset patch # User Matti Hamalainen # Date 1526066651 -10800 # Node ID 7bbf4b41fc33b725a32e78f4efdb2ae9a138a3e7 # Parent 15afe578f0ae88585d4770f5983fb9592bafc3a9 Urgh. 1000L idiotic mistake: a dmGrowBufAlloc() call had been left in dmEncodeGenericRLE(), causing a memory leak. diff -r 15afe578f0ae -r 7bbf4b41fc33 tools/lib64gfx.c --- a/tools/lib64gfx.c Fri May 11 22:22:40 2018 +0300 +++ b/tools/lib64gfx.c Fri May 11 22:24:11 2018 +0300 @@ -252,9 +252,6 @@ { int res; - if ((res = dmGrowBufAlloc(dst, BUF_SIZE_INITIAL, BUF_SIZE_GROW)) != DMERR_OK) - goto err; - // Perform RLE decode while (src < srcEnd) {