Fix Coverity dereference before NULL issues

In all these cases, since the memory allocator is assumed to fail
if out of memory and never return NULL, we don't need to check
for non-NULL before releasing in the error paths.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 files changed