summaryrefslogtreecommitdiffstats
path: root/src/H5Doh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r--src/H5Doh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c
index de4fb17..8236ccd 100644
--- a/src/H5Doh.c
+++ b/src/H5Doh.c
@@ -163,7 +163,7 @@ H5O_dset_free_copy_file_udata(void *_udata)
H5O_msg_free(H5O_LAYOUT_ID, udata->src_layout);
/* Release space for 'copy file' user data */
- (void)H5FL_FREE(H5D_copy_file_ud_t, udata);
+ udata = H5FL_FREE(H5D_copy_file_ud_t, udata);
FUNC_LEAVE_NOAPI_VOID
} /* end H5O_dset_free_copy_file_udata() */