external/pflash: Fix resource leak CID 163745
external/pflash: Fix resource leak CID 163745

Thanks Coverity.

Fixes: CID 163745
Signed-off-by: Cyril Bur <6ce38dade8c4b52fd55c193fae70fd1d1275c3c3@au1.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

stewart-ibm/skiboot,stewart-ibm/skiboot,shenki/skiboot,legoater/skiboot,legoater/skiboot,shenki/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,stewart-ibm/skiboot,legoater/skiboot,open-power/skiboot,qemu/skiboot,qemu/skiboot,shenki/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot