]> git.imager.perl.org - imager.git/commit
gradgen allocated sizeof(i_color *) per entry rather than sizeof(i_color)
authorTony Cook <tony@develop-help.com>
Wed, 2 Jan 2019 07:39:28 +0000 (18:39 +1100)
committerTony Cook <tony@develop-help.com>
Wed, 2 Jan 2019 07:39:28 +0000 (18:39 +1100)
commit4615ad8d8333a500640c65c8324163b36ebd3539
tree565c0fcbe599b5c4fb7075df5a1ec18fc5943b84
parentc4fd43bef160695b135e532add4d513934fd3c41
gradgen allocated sizeof(i_color *) per entry rather than sizeof(i_color)

i_color is four bytes, so this is safe on any arch I've used.
Changes
Imager.xs