Przeglądaj źródła

Fix viewid string

git-svn-id: https://klish.googlecode.com/svn/trunk@152 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 lat temu
rodzic
commit
38a8b03465
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
 		}
 	}