Index: includes/view.inc =================================================================== --- includes/view.inc (Revision 2870) +++ includes/view.inc (Revision 2871) @@ -1488,6 +1488,17 @@ if (isset($this->query)) { unset($this->query); } + + $keys = array('current_display', 'display_handler', 'build_info', 'built', 'executed', 'attachment_before', 'attachment_after', 'field', 'argument', 'filter', 'sort', 'relationship', 'query', 'result', 'inited', 'style_plugin', 'plugin_name', 'exposed_data', 'exposed_input', 'many_to_one_tables'); + foreach ($keys as $key) { + if (isset($this->$key)) { + unset($this->$key); + } + } + $this->built = $this->executed = FALSE; + $this->build_info = array(); + $this->attachment_before = ''; + $this->attachment_after = ''; } }