git-svn-id: https://klish.googlecode.com/svn/trunk@152 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
@@ -218,7 +218,7 @@ clish_shell_execute(clish_shell_t * this,
this->view = view;
/* cleanup */
lub_string_free(this->viewid);
- this->viewid = viewid;
+ this->viewid = lub_string_dup(viewid);
}