mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-10 01:02:01 +03:00

Since executing a script can cause more scripts to be appended to the script array, and that can cause a reallocation which might move the script array, reacquire the script pointer after running the script so that we don't wander off into the reeds. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>