Fix definition of jGvar_free_idx