Skip to content

Commit 718c922

Browse files
committed
fix usage of wrong function
1 parent bda7aae commit 718c922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mid_hermes_ll/mid_hermes_ll_block.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ mid_hermes_ll_block_t *mid_hermes_ll_block_rotate(mid_hermes_ll_block_t *bl, mid
221221
mid_hermes_ll_token_destroy(&(bl->wtoken));
222222
mid_hermes_ll_buffer_destroy_secure(&rt);
223223
mid_hermes_ll_buffer_destroy_secure(&wt);
224-
mid_hermes_ll_token_destroy(&(bl->block));
224+
mid_hermes_ll_buffer_destroy(&(bl->block));
225225
bl->rtoken = new_rtoken;
226226
bl->wtoken = new_wtoken;
227227
bl->block = new_block;

0 commit comments

Comments
 (0)