Permalink
Browse files

Properly free GENERAL_NAMES structure; fix memory leak

Signed-off-by: Guido Vranken <guidovranken@gmail.com>
  • Loading branch information...
guidovranken authored and alandekok committed Jun 21, 2017
1 parent 9af8b2a commit 0be376fb0c9ad26bfcd5558c6d459a322af842f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/tls/session.c
View
@@ -1008,7 +1008,7 @@ do { \
}
}
}
if (names != NULL) sk_GENERAL_NAME_free(names);
if (names != NULL) GENERAL_NAMES_free(names);
}
/*

0 comments on commit 0be376f

Please sign in to comment.