Avoid memory leak when sending RADIUS accounting start message failed

This commit is contained in:
Tobias Brunner 2012-09-28 17:43:02 +02:00
parent 53ab3c27cd
commit 4bc24ba794
1 changed files with 1 additions and 1 deletions

View File

@ -207,9 +207,9 @@ static void send_start(private_eap_radius_accounting_t *this, ike_sa_t *ike_sa)
this->mutex->lock(this->mutex);
entry = this->sessions->put(this->sessions, (void*)(uintptr_t)id, entry);
this->mutex->unlock(this->mutex);
free(entry);
}
message->destroy(message);
free(entry);
}
/**