Commit 3a32cfc
committed
fix type of S_clear_yystack()
Functions registered with SAVEDESTRUCTOR_X must be of type
'void (pTHX_ void *)' because that's how scope.c stores and calls them.
Should fix this ASan error:
scope.c:1537:13: runtime error: call to function S_clear_yystack through pointer to incorrect function type 'void (*)(struct interpreter *, void *)'1 parent a7eccf4 commit 3a32cfc
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
0 commit comments