From: Tetsuo Handa Date: Mon, 17 Jan 2011 00:22:47 +0000 (+0900) Subject: trusted-keys: another free memory bugfix X-Git-Tag: v2.6.38-rc2~26^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35576eab390df313095306e2a8216134910e7014;p=pandora-kernel.git trusted-keys: another free memory bugfix TSS_rawhmac() forgot to call va_end()/kfree() when data == NULL and forgot to call va_end() when crypto_shash_update() < 0. Fix these bugs by escaping from the loop using "break" (rather than "return"/"goto") in order to make sure that va_end()/kfree() are always called. Signed-off-by: Tetsuo Handa Reviewed-by: Jesper Juhl Acked-by: Mimi Zohar Acked-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed