reindent

totally useless.
fix possible leak
mdimporter: better pixmap check