aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-20 19:51:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-22 11:30:47 +0200
commitd48824195009b2497b4233c9d3f2a8f9c1e6a2d7 (patch)
treedc846e3272d074b039412944c1599bffddef51e5 /nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
parentb4d3dc5bff6a8d3b09a61dbf8421a46fd23b82e8 (diff)
downloadnx-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/hw/nxagent/Keystroke.c')
0 files changed, 0 insertions, 0 deletions