commit | 8439534daa1d3a5705ba92e653eda9251246dd61 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Sun Feb 03 21:00:49 2019 -0500 |
committer | Cosmin Truta <ctruta@gmail.com> | Sun Feb 03 21:00:49 2019 -0500 |
tree | 5add14152b5805af202ea47e22730cfb7738abf6 | |
parent | 70d122aac42933ab8a708c538f973c3307853212 [diff] |
Fix a memory leak in pngtest.c Ensure that row_buf is deallocated not only after a read error, but also after a write error. Use the format "%p" instead of "0x%08lx" for printf-ing row_buf in a portable manner.