diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-09-17 15:03:52 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-09-17 15:03:52 (GMT) |
commit | 0b52a1324e8f9736ce5b4686cbec14d6102abbc9 (patch) | |
tree | ad70420a896c5e08215026d4968acf284828d4f9 /src/H5O.c | |
parent | c7ee2a5708df2f88ce439cda028886ee20593b77 (diff) | |
download | hdf5-0b52a1324e8f9736ce5b4686cbec14d6102abbc9.zip hdf5-0b52a1324e8f9736ce5b4686cbec14d6102abbc9.tar.gz hdf5-0b52a1324e8f9736ce5b4686cbec14d6102abbc9.tar.bz2 |
[svn-r94] Removed encode/decode from fast/cache message functions.
Fixed uninitialized bytes appearing in the data file object header.
Diffstat (limited to 'src/H5O.c')
-rw-r--r-- | src/H5O.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -121,7 +121,7 @@ H5O_new (hdf5_file_t *f, intn nlink, size_t size_hint) oh->chunk[0].dirty = TRUE; oh->chunk[0].addr = addr + H5O_SIZEOF_HDR(f); oh->chunk[0].size = size_hint; - oh->chunk[0].image = H5MM_xmalloc (size_hint); + oh->chunk[0].image = H5MM_xcalloc (1, size_hint); /* create the message list and initialize the first message */ oh->nmesgs = 1; |