lib/mpi: added missing NULL check
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 26 Jan 2012 17:13:17 +0000 (19:13 +0200)
committerJames Morris <jmorris@namei.org>
Wed, 1 Feb 2012 13:23:13 +0000 (00:23 +1100)
commitc70c471c585a3fc1a10c792d5121b3803c83dde0
tree9ba56d609baafe310008974099d6d4adc77a67aa
parent62aa2b537c6f5957afd98e29f96897419ed5ebab
lib/mpi: added missing NULL check

Added missing NULL check after mpi_alloc().

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Reviewed-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
lib/mpi/mpicoder.c