Call qmc_free in the example.