Merge pull request #259 from brianosman/patch-1

Fix return type of GetAllocationNextPtr