summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/objcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index e82c2f6..6459519 100755
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -273,7 +273,7 @@ error:
H5Sclose(sid_ref);
H5Dclose(did1);
H5Dclose(did2);
- H5Pclose(aid);
+ H5Aclose(aid);
} H5E_END_TRY;
return(-1);