Some Coverity fixes (#3558)

This commit is contained in:
heckflosse
2017-06-05 14:12:34 +02:00
parent 051670160b
commit 9e5ce9a99b
12 changed files with 33 additions and 22 deletions

View File

@@ -317,6 +317,7 @@ CameraConst::parseEntry(void *cJSON_, const char *make_model)
return cc;
parse_error:
delete cc;
return nullptr;
}