Style.
DTLS: fix memory leak when allocation fails.

Patch by: Loganaden Velvindron