coverity 1164162

This commit is contained in:
Nicolas Williams
2015-04-19 15:04:16 -05:00
parent e8563aeae5
commit 8cdd54c997

View File

@@ -1228,10 +1228,9 @@ krb5_sendto_context(krb5_context context,
} }
} }
out:
gettimeofday(&stop_time, NULL); gettimeofday(&stop_time, NULL);
timevalsub(&stop_time, &ctx->stats.start_time); timevalsub(&stop_time, &ctx->stats.start_time);
out:
if (ret == 0 && ctx->response.length) { if (ret == 0 && ctx->response.length) {
*receive = ctx->response; *receive = ctx->response;
krb5_data_zero(&ctx->response); krb5_data_zero(&ctx->response);