[PATCH] i2c: Fix a potential use after free