• Daniele Bellucci's avatar
    [PATCH] I2C: fixed a little memory leak in i2c-ali15x3.c · ae16b852
    Daniele Bellucci authored
    there is a little memory leak in i2c-ali15x3.c .
    You can reproduce the BUG as follows:
    In a PC with no such device unloading i2c-ali15x3 cause an oops in release_region.
    I've fixed by moving release_region() from i2c_ali15x3_exit() to ali15x3_remove().
    ae16b852
i2c-ali15x3.c 15.8 KB