Fixed memory leaks. Second example with texture added.

Second example with texture added.
Memory leaks fixed - in stb and DevIL(default) version loading a texture from file causes memory leaks because allocated while loading memory not be freed.