浏览代码

Fix viewid string

git-svn-id: https://klish.googlecode.com/svn/trunk@152 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 年之前
父节点
当前提交
38a8b03465
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      clish/shell/shell_execute.c

+ 1 - 1
clish/shell/shell_execute.c

@@ -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);
 		}
 	}