* implemented a simple check to avoid freeing a context object two times
* implemented a simple check to avoid freeing a context object two times

andrea-magni/MARS,davidesfn/MARS,davidesfn/MARS,davidesfn/MARS,andrea-magni/MARS