Branch: Tag:

2015-04-26

2015-04-26 19:30:47 by Peter Bortas <bortas@gmail.com>

Revert "Image: Fix use after free."

Incorrect analysys of crash. The real bug is somewhere else.

This reverts commit a1284688d3f8a3bcf49463353bf84b5e966150f3.

210:    rgb_group *new;    INT32 xp,yp,xs,ys,tmp;    -  if (dest->img) { free(dest->img); } +  if (dest->img) { free(dest->img); dest->img=NULL; }       if (x1>x2) tmp=x1, x1=x2, x2=tmp;    if (y1>y2) tmp=y1, y1=y2, y2=tmp;