Added drop SVG files support.
Bug fix. Free memory to early.