commit | 7d523187173294f6ae3b86a48e442122b1aecc38 | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Fri Jul 17 09:19:59 2015 +0200 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Oct 02 22:54:55 2015 +1000 |
tree | 2446488fa1dc54398b339fde49912352c60d8f4b | |
parent | 2adc48a691866fbb3134dd3abd77647a8b5a9307 [diff] |
powerpc/nvram: Add missing kfree in error path If 'nvram_write_header' fails, then 'new_part' should be freed, otherwise, there is a memory leak. Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>