Subject: | Imager::i_glin() doesn't return the pixel values |
--- Imager.xs.~1.85.~ Tue Jan 25 00:18:54 2005
+++ Imager.xs Mon Mar 14 10:18:43 2005
@@ -3785,6 +3785,7 @@
for (i = 0; i < count; ++i) {
SV *sv;
i_color *col = mymalloc(sizeof(i_color));
+
*col = vals[i];
sv = sv_newmortal();
sv_setref_pv(sv, "Imager::Color", (void *)col);
PUSHs(sv);
This also needs to be checked for i_glinf() and tests need to be added
(or fixed) to detect the problem.