[https://github.com/jkthecjer/exploit-techniques/tree/master/writeups/technique-useafterfree](https://github.com/jkthecjer/exploit-techniques/tree/master/writeups/technique-useafterfree) <-- my walkthrough of solving this problem.