On Wed, Jan 9, 2013 at 1:27 AM, Leandro Dorileo <dori...@profusion.mobi> wrote: > Hi,
>> > { >> > unsigned char *d, *comp; >> > - int *header, ret, ok = 1; >> > + int *header, *bigend_data, ret, ok = 1; >> > uLongf buflen = 0; >> > >> > buflen = (((w * h * 101) / 100) + 3) * 4; >> > ret = LZ4_compressBound((w * h * 4)); >> > if ((ret > 0) && ((uLongf)ret > buflen)) buflen = ret; >> > - >> > + >> > + if (_eet_image_words_bigendian) >> > + { >> > + int i; >> > + int *bigend_data = (int *) malloc(w * h * 4); > > > Shadowed declaration of bigend_data here. Oops, correct. That must have crept in while doing some refactoring :) Obvisouly the first declaration is the one we need to keep, since we free the pointer later on. -- Albin ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel