Fix some leaks on LUN creation error.

(cherry picked from commit 53910142305520c16ea5df64e2fe14ab9c9b3623)