[svn-r23320] Close resources, found from valgrind testing

Tested: local linux
This commit is contained in:
Allen Byrne 2013-02-27 12:32:56 -05:00
parent fbf49aeddf
commit 00eea738d6

View File

@ -1280,6 +1280,9 @@ static void size2_verify_plist1(hid_t plist)
ret = memcmp(&fill1, &fill1_correct, sizeof(fill1_correct));
VERIFY(ret, 0, memcmp);
ret = H5Tclose(dtype1_id);
CHECK_I(ret, "H5Tclose");
}
/*-------------------------------------------------------------------------
@ -1348,6 +1351,9 @@ static void size2_verify_plist2(hid_t plist)
ret = HDmemcmp(&fill2, &fill2_correct, (size_t)DTYPE2_SIZE);
VERIFY(ret, 0, memcmp);
ret = H5Tclose(dtype2_id);
CHECK_I(ret, "H5Tclose");
}
#ifdef NOT_NOW