diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-06-20 19:51:00 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-06-22 11:30:47 +0200 |
commit | d48824195009b2497b4233c9d3f2a8f9c1e6a2d7 (patch) | |
tree | dc846e3272d074b039412944c1599bffddef51e5 /nx-X11/programs/Xserver/Xi/listdev.c | |
parent | b4d3dc5bff6a8d3b09a61dbf8421a46fd23b82e8 (diff) | |
download | nx-libs-d48824195009b2497b4233c9d3f2a8f9c1e6a2d7.tar.gz nx-libs-d48824195009b2497b4233c9d3f2a8f9c1e6a2d7.tar.bz2 nx-libs-d48824195009b2497b4233c9d3f2a8f9c1e6a2d7.zip |
compext/Png.c: late image_index allocation
Move allocation of image_index close before first_use. This way we do
not need to free it if previous step fail. And we cannot forget that
free() call.
While at it replace malloc+memset by calloc.
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/listdev.c')
0 files changed, 0 insertions, 0 deletions