Index: /CKEditor/trunk/_source/core/editor.js
===================================================================
--- /CKEditor/trunk/_source/core/editor.js	(revision 5248)
+++ /CKEditor/trunk/_source/core/editor.js	(revision 5249)
@@ -507,6 +507,9 @@
 
 			items = editor.config.elementsPath_filters;
-			for ( index= 0 ; index < items.length ; index++ )
-				items[ index ] = null;
+			if ( items )
+			{
+				for ( index= 0 ; index < items.length ; index++ )
+					items[ index ] = null;
+			}
 
 			this.fire( 'destroy' );
