Skip to content

Commit 2d4aacc

Browse files
committed
Update scratch_impl.h patch file
To mirror recent changes to the `scratch_impl.h` file update the patch file.
1 parent 2fccf8d commit 2d4aacc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secp256k1-sys/depend/scratch_impl.h.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
<
1515
< static void secp256k1_scratch_destroy(const secp256k1_callback* error_callback, secp256k1_scratch* scratch) {
1616
< if (scratch != NULL) {
17-
< VERIFY_CHECK(scratch->alloc_size == 0); /* all checkpoints should be applied */
1817
< if (secp256k1_memcmp_var(scratch->magic, "scratch", 8) != 0) {
1918
< secp256k1_callback_call(error_callback, "invalid scratch space");
2019
< return;
2120
< }
21+
< VERIFY_CHECK(scratch->alloc_size == 0); /* all checkpoints should be applied */
2222
< memset(scratch->magic, 0, sizeof(scratch->magic));
2323
< free(scratch);
2424
< }

0 commit comments

Comments
 (0)