curve: free buffers in reverse order to allocation
commitd9b5259582a6073d1c2bada8c3294c7550c7b678
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 15 Jun 2013 18:15:40 +0000 (15 20:15 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 15 Jun 2013 18:15:40 +0000 (15 20:15 +0200)
treee48c3bc7c9c21b1cc9f48f64bd5b279e735a765a
parentbc41b879d5f8d2286f094d85222d0d40b90ace00
curve: free buffers in reverse order to allocation

First destroy spinlocks, then free the encryption and decryption
buffers.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
curve.c