# HG changeset patch # User Matti Hamalainen # Date 1528969315 -10800 # Node ID 708d333734f94ea20080bc1aaf4d26bcc6e4a501 # Parent 6db41588458c00c0cbf81953b4683c4e402a5bc8 Comment. diff -r 6db41588458c -r 708d333734f9 tools/lib64gfx.c --- a/tools/lib64gfx.c Thu Jun 14 04:01:58 2018 +0300 +++ b/tools/lib64gfx.c Thu Jun 14 12:41:55 2018 +0300 @@ -1450,6 +1450,7 @@ return DMERR_OK; err: + // In error case, free the buffer dmGrowBufFree(buf); return res; }