Don't clobber passed GENERAL_NAME on error.
This commit is contained in:
		@@ -527,7 +527,8 @@ GENERAL_NAME *v2i_GENERAL_NAME_ex(GENERAL_NAME *out,
 | 
			
		||||
	return gen;
 | 
			
		||||
 | 
			
		||||
	err:
 | 
			
		||||
	GENERAL_NAME_free(gen);
 | 
			
		||||
	if (!out)
 | 
			
		||||
		GENERAL_NAME_free(gen);
 | 
			
		||||
	return NULL;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user