Merge pull request #12754 from LillyJadeKatrin/retroachievements-possiblememoryleakfix Fix possible memory leak in an Achievement Manager callback