mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Rename kfree to kmm_free for consistency with other naming conventions
This commit is contained in:
@@ -154,6 +154,6 @@ int bchlib_setup(const char *blkdev, bool readonly, FAR void **handle)
|
||||
return OK;
|
||||
|
||||
errout_with_bch:
|
||||
kfree(bch);
|
||||
kmm_free(bch);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -103,11 +103,11 @@ int bchlib_teardown(FAR void *handle)
|
||||
|
||||
if (bch->buffer)
|
||||
{
|
||||
kfree(bch->buffer);
|
||||
kmm_free(bch->buffer);
|
||||
}
|
||||
|
||||
sem_destroy(&bch->sem);
|
||||
kfree(bch);
|
||||
kmm_free(bch);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user