Skip to content

Commit 999395c

Browse files
author
Filip Tehlar
committed
ikev2: fix copy-paste error when freeing memory
Type: fix Change-Id: If44c807d188b3e88d819f4132d73e6a34402a525 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
1 parent d75a2d1 commit 999395c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/ikev2/ikev2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ ikev2_sa_free_all_vec (ikev2_sa_t * sa)
318318
vec_free (sa->r_id.data);
319319

320320
vec_free (sa->i_auth.data);
321-
if (sa->r_auth.key)
321+
if (sa->i_auth.key)
322322
EVP_PKEY_free (sa->i_auth.key);
323323
vec_free (sa->r_auth.data);
324324
if (sa->r_auth.key)

0 commit comments

Comments
 (0)