I'm not 100% sure this is valid on any other X server than mine, but since the XFree call does not take the context as a parameter, it seems pretty certain it's the right thing to do, but I'll put this caveat here in case someone checks in the future.