fixed possible dereferencing of NULL pointer in asimage_destroy (minor)
fixed possible dereferencing of NULL pointer in asimage_destroy (minor)

born2late/afterstep-devel,born2late/afterstep-devel,born2late/afterstep-devel,born2late/afterstep-devel,born2late/afterstep-devel