(init_sockets): free addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5759 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -252,6 +252,7 @@ init_sockets(struct descr **desc)
|
||||
}
|
||||
}
|
||||
}
|
||||
krb5_free_addresses (context, &addresses);
|
||||
d = realloc(d, num * sizeof(*d));
|
||||
if (d == NULL && num != 0)
|
||||
krb5_errx(context, 1, "realloc(%u) failed", num * sizeof(*d));
|
||||
|
Reference in New Issue
Block a user