Fixed memory leaks. Second example with texture added.

In stb and DevIL(default) version loading a texture from file causes memory leaks because allocated while loading memory not be freed.
Merge pull request #9 from drug007/master

Fixed memory leaks. Second example with texture added.