coverity 156861 context destroy dereference context before NULL check
authorAndy Green <andy.green@linaro.org>
Tue, 19 Jan 2016 13:29:34 +0000 (21:29 +0800)
committerAndy Green <andy.green@linaro.org>
Tue, 19 Jan 2016 13:33:52 +0000 (21:33 +0800)
commit2e3bf0613977ab0ae859cd7e7cceeedc3abf0c52
tree50293a9e54f02198bd0c259b9605eecbce0e7f97
parent2ec7c85e99ce8339729309bc5dae2e451406080e
coverity 156861 context destroy dereference context before NULL check

Context could be NULL only if context creation failed in the first
place and user error path is bad... no network connectivity at that
point...

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/context.c