(krb5_make_addrport): clear return value on error, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16955 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -1136,6 +1136,7 @@ krb5_make_addrport (krb5_context context, | ||||
|     if (ret) { | ||||
| 	krb5_set_error_string(context, "malloc: out of memory"); | ||||
| 	free (*res); | ||||
| 	*res = NULL; | ||||
| 	return ret; | ||||
|     } | ||||
|     p = (*res)->address.data; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand