Fix a memory leak with GridStorage

I re-did what I was going to do for the first rv1 build, cause I figured no one knew about this yet.