Removed bug.
This commit is contained in:
		
							parent
							
								
									255e5458be
								
							
						
					
					
						commit
						cc00756479
					
				
							
								
								
									
										2
									
								
								r.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								r.h
									
									
									
									
									
								
							| @ -73,7 +73,7 @@ void set_prompt_model(const char *model) { | |||||||
| 
 | 
 | ||||||
| const char *get_prompt_model() { | const char *get_prompt_model() { | ||||||
|   if (_model == NULL && getenv("R_MODEL") != NULL) { |   if (_model == NULL && getenv("R_MODEL") != NULL) { | ||||||
|     _model = getenv("R_MODEL"); |     _model = strdup(getenv("R_MODEL")); | ||||||
|   } |   } | ||||||
|   if (_model) { |   if (_model) { | ||||||
|     return _model; |     return _model; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user