fix #103 (Memory leak IDE)

Signed-off-by: Ralph Samer <ralph.samer@student.tugraz.at>