Commit 527a671
committed
fix double-free in zai_hook_gshutdown
Doesn't fix the fact this is called repeatedly in the main thread.
When called by `ts_free_id` the threads whose data we want to free are
gone. For this to work propoerly we would need to register an actual
thread data destructor.1 parent 1cc4356 commit 527a671
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1266 | 1266 | | |
1267 | 1267 | | |
1268 | 1268 | | |
1269 | | - | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
1270 | 1273 | | |
1271 | 1274 | | |
1272 | 1275 | | |
| |||
0 commit comments