Hacked away anoying compile warning. Fixed memory leak in dito-extract.