Commit 7adc32d5250f63d8ae9ee921baef1280cdcf9696

Edward Thomson 2019-11-23T13:02:29

valgrind: suppress kexinit leaks

diff --git a/script/valgrind.supp b/script/valgrind.supp
index 5ef6fab..147c659 100644
--- a/script/valgrind.supp
+++ b/script/valgrind.supp
@@ -86,6 +86,7 @@
 	...
 	fun:gcry_mpi_scan
 	obj:*libssh2.so*
+	...
 }
 
 {
@@ -116,7 +117,6 @@
 	ignore-libssh2-gcrypt-session-handshake
 	Memcheck:Leak
 	...
-	obj:*libgcrypt.so*
 	obj:*libssh2.so*
 	obj:*libssh2.so*
 	fun:libssh2_session_handshake
@@ -124,6 +124,15 @@
 }
 
 {
+	ignore-libssh2-kexinit
+	Memcheck:Leak
+	...
+	obj:*libssh2.so*
+	fun:kexinit
+	...
+}
+
+{
 	ignore-noai6ai_cached-double-free
 	Memcheck:Free
 	fun:free