Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ikev2: fix copy-paste error when freeing memory
[vpp.git]
/
src
/
plugins
/
ikev2
/
ikev2.c
diff --git
a/src/plugins/ikev2/ikev2.c
b/src/plugins/ikev2/ikev2.c
index
57eea01
..
34c54f3
100644
(file)
--- a/
src/plugins/ikev2/ikev2.c
+++ b/
src/plugins/ikev2/ikev2.c
@@
-318,7
+318,7
@@
ikev2_sa_free_all_vec (ikev2_sa_t * sa)
vec_free (sa->r_id.data);
vec_free (sa->i_auth.data);
- if (sa->
r
_auth.key)
+ if (sa->
i
_auth.key)
EVP_PKEY_free (sa->i_auth.key);
vec_free (sa->r_auth.data);
if (sa->r_auth.key)