[BUG #8455] Minor fix. The call to disposeObjects was wrong.