]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MLK-9710-9 Fix for tcrypt test_ahash_speed function
authorWinston Hudson <winston.hudson@freescale.com>
Sun, 21 Jul 2013 22:18:38 +0000 (15:18 -0700)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:19:54 +0000 (21:19 -0600)
commitdfe9d5c564fc8c38f5f079a9e212d7e145469d16
tree6061a02f8ca89851cefc2ea5e5fcdb7c83be6385
parent3e6e5cf804ab763726236f6aa6b5702a333f265d
MLK-9710-9 Fix for tcrypt test_ahash_speed function

This patch adds a null pointer check and explicitly frees memory in the
tcrypt.c function test_ahash_speed.

Signed-off-by: Winston Hudson <winston.hudson@freescale.com>
(cherry picked from commit 9bea544c31565260e5cbec2da14f4b2e89d21656)
crypto/tcrypt.c