Преглед на файлове

cov 10411: fix leak in totemudp.c

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2833 fd59a12c-fef9-0310-b244-a6a79926bd2f
Angus Salkeld преди 15 години
родител
ревизия
202de1b8e2
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      exec/totemudp.c

+ 1 - 0
exec/totemudp.c

@@ -619,6 +619,7 @@ static int authenticate_and_decrypt_nss (
 		err[PR_GetErrorTextLength()] = 0;
 		log_printf(instance->totemudp_log_level_security, "PK11_CreateContext failed (check digest) err %d: %s\n",
 			PR_GetError(), err);
+		free (inbuf);
 		return -1;
 	}