Some Coverity fixes (#3558)
This commit is contained in:
@@ -317,6 +317,7 @@ CameraConst::parseEntry(void *cJSON_, const char *make_model)
|
||||
return cc;
|
||||
|
||||
parse_error:
|
||||
delete cc;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user