mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 21:27:30 +01:00 
			
		
		
		
	network: free psk on error
This commit is contained in:
		
							parent
							
								
									0854592cc6
								
							
						
					
					
						commit
						6930987aa6
					
				| @ -399,6 +399,8 @@ static int network_load_psk(struct network *network, bool need_passphrase) | ||||
| 			return 0; | ||||
| 		} | ||||
| 
 | ||||
| 		l_free(psk); | ||||
| 
 | ||||
| 		path = storage_get_network_file_path(security, ssid); | ||||
| 		l_error("%s: invalid PreSharedKey format", path); | ||||
| 		l_free(path); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood