removed pointless checks

This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-27 14:05:14 +01:00
parent c8cd64c9ca
commit d0ae4e7e78

View File

@@ -683,8 +683,7 @@ static int recv_cookie_auth_reply(worker_st * ws)
ret = 0;
cleanup:
if (msg != NULL)
auth_reply_msg__free_unpacked(msg, &pa);
auth_reply_msg__free_unpacked(msg, &pa);
return ret;
}
@@ -793,8 +792,7 @@ static int recv_auth_reply(worker_st * ws, int sd, char **txt)
ret = 0;
cleanup:
if (msg != NULL)
sec_auth_reply_msg__free_unpacked(msg, &pa);
sec_auth_reply_msg__free_unpacked(msg, &pa);
return ret;
}