Commit d4a9e4c
committed
[fetch] Fix double free in fetch_free() with streaming fetch requests
fetch->data will be allocated and freed in onprogress
if fetch attribute EMSCRIPTEN_FETCH_STREAM_DATA is used,
however it will still be freed in fetch_free() causing double free problem.1 parent 35f0ffc commit d4a9e4c
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
0 commit comments