fix {} error, pointed out by Liqiang Zhu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13114 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -165,7 +165,7 @@ static krb5_error_code rrc_rotate(void *data,
|
||||
tmp = buf;
|
||||
} else {
|
||||
tmp = malloc(rrc);
|
||||
if (tmp == NULL) {
|
||||
if (tmp == NULL)
|
||||
return ENOMEM;
|
||||
}
|
||||
|
||||
@@ -181,7 +181,6 @@ static krb5_error_code rrc_rotate(void *data,
|
||||
|
||||
if (rrc > sizeof(buf))
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user