Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
047eebf
)
ikev2: fix copy-paste error when freeing memory
07/28807/3
author
Filip Tehlar
<ftehlar@cisco.com>
Thu, 10 Sep 2020 03:37:37 +0000
(
03:37
+0000)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Tue, 15 Sep 2020 10:07:50 +0000
(10:07 +0000)
Type: fix
Change-Id: If44c807d188b3e88d819f4132d73e6a34402a525
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
(cherry picked from commit
999395cd6644a297c01dd6de033cf1ffb4e9951b
)
src/plugins/ikev2/ikev2.c
patch
|
blob
|
history
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);
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)
EVP_PKEY_free (sa->i_auth.key);
vec_free (sa->r_auth.data);
if (sa->r_auth.key)