Add goto error for dataset read failure. Fixed comments
This commit is contained in:
@@ -89,6 +89,9 @@ hsize_t diff_dataset( hid_t file1_id,
|
||||
obj2_name,
|
||||
options);
|
||||
}
|
||||
else
|
||||
goto error;
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* close
|
||||
*-------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user