summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-12-14 18:46:51 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-12-14 18:46:51 (GMT)
commit57a786d9c0242b7c94d0b0a1c8519f9b906d194a (patch)
tree90afd463a6ebde70a585061f80ee8ff30bfd419f /src/H5Ocopy.c
parent481cfbe0e958ba72623803884f4c69179724582f (diff)
downloadhdf5-57a786d9c0242b7c94d0b0a1c8519f9b906d194a.zip
hdf5-57a786d9c0242b7c94d0b0a1c8519f9b906d194a.tar.gz
hdf5-57a786d9c0242b7c94d0b0a1c8519f9b906d194a.tar.bz2
[svn-r13063] Cleaned up some memory issues when copying, in preparation for checking in
code to copy shared messages. Should be fewer memory leaks and fewer "uninitialized memory reads." Tested on kagiso, smirom, and Windows.
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r--src/H5Ocopy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index a1c9c45..e48f29c 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -391,7 +391,6 @@ H5O_copy_header_real(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
for(mesgno = 0; mesgno < oh_src->nmesgs; mesgno++) {
/* Set up convenience variables */
mesg_src = &(oh_src->mesg[mesgno]);
- mesg_dst = &(oh_dst->mesg[mesgno]);
/* Sanity check */
HDassert(!mesg_src->dirty); /* Should be cleared by earlier call to flush messages */