discover: Release process resources on error
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Fri, 18 Dec 2015 03:00:49 +0000 (14:00 +1100)
committerSam Mendoza-Jonas <sam@mendozajonas.com>
Tue, 9 Feb 2016 02:39:34 +0000 (13:39 +1100)
commit5f339d4485e450adac994c190bfafb45734bcae9
treecc8e2656ea308b16cd2b0d41f6d54869e9c5e8cf
parent90cd56cb816e7045b41542c119f64b9ee349a6bc
discover: Release process resources on error

Fixes Coverity defect #30472

Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c