Skip to content

Fix Valgrind warning#1161

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix1160
Sep 26, 2025
Merged

Fix Valgrind warning#1161
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix1160

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Initialize the JSPropertyDescriptor before calling JS_GetOwnProperty because the latter doesn't fill in the former if the property isn't found.

Fixes: #1160

Initialize the JSPropertyDescriptor before calling JS_GetOwnProperty
because the latter doesn't fill in the former if the property isn't
found.

Fixes: quickjs-ng#1160
@bnoordhuis bnoordhuis merged commit fb496c3 into quickjs-ng:master Sep 26, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the fix1160 branch September 26, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants