add missing variable from last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12045 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -104,7 +104,9 @@ srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count,
|
||||
for(num_srv = 0, rr = r->head; rr; rr = rr->next)
|
||||
if(rr->type == T_SRV) {
|
||||
krb5_krbhst_info *hi;
|
||||
hi = calloc(1, sizeof(*hi) + strlen(rr->u.srv->target));
|
||||
size_t len = strlen(rr->u.srv->target);
|
||||
|
||||
hi = calloc(1, sizeof(*hi) + len);
|
||||
if(hi == NULL) {
|
||||
dns_free_data(r);
|
||||
while(--num_srv >= 0)
|
||||
|
Reference in New Issue
Block a user