Skip to content

Commit

Permalink
Reset API context before next push.
Browse files Browse the repository at this point in the history
  • Loading branch information
qkoziol committed Oct 17, 2024
1 parent c8d5928 commit 47fef1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1780,6 +1780,7 @@ exercise_reg_opt_oper(hid_t fake_vol_id, hid_t reg_opt_vol_id, H5VL_subclass_t s

/* Push a new API context on the stack */
/* (Necessary for the named datatype construction routines) */
memset(&api_ctx, 0, sizeof(api_ctx));
if (H5VL_SUBCLS_DATATYPE == subcls)
H5CX_push(&api_ctx);

Expand Down

0 comments on commit 47fef1f

Please sign in to comment.