]> git.dujemihanovic.xyz Git - u-boot.git/commit
ubifs: no NULL check needed before free
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 8 Nov 2017 21:28:47 +0000 (22:28 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 20 Nov 2017 09:13:33 +0000 (10:13 +0100)
commit4b29975fd0f25256d8e643076a2c4c5f9de00f8f
treea2025ff4b62d83c6eec5a64eeb7b19e3555a1a7e
parentb6251db8c3f0de605b4cd6f15a00fc7dd19cda63
ubifs: no NULL check needed before free

kfree() calls free.
free() checks if the parameter is NULL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/ubifs/ubifs.c