diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
commit | 7482b7ad0f60724e593a8919783444ef79f4c79e (patch) | |
tree | 396e7019c35eb0f49f430c1132972eedc292a752 /nuttx/drivers/timer.c | |
parent | 2ad3a4c2a2b56a721180faa3c689110d86d90359 (diff) | |
download | px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.gz px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.bz2 px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.zip |
Rename kfree to kmm_free for consistency with other naming conventions
Diffstat (limited to 'nuttx/drivers/timer.c')
-rw-r--r-- | nuttx/drivers/timer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/drivers/timer.c b/nuttx/drivers/timer.c index d8dd6b01f..db0f333da 100644 --- a/nuttx/drivers/timer.c +++ b/nuttx/drivers/timer.c @@ -516,11 +516,11 @@ FAR void *timer_register(FAR const char *path, return (FAR void *)upper; errout_with_path: - kfree(upper->path); + kmm_free(upper->path); errout_with_upper: //sem_destroy(&upper->exclsem); - kfree(upper); + kmm_free(upper); errout: return NULL; @@ -565,9 +565,9 @@ void timer_unregister(FAR void *handle) /* Then free all of the driver resources */ - kfree(upper->path); + kmm_free(upper->path); //sem_destroy(&upper->exclsem); - kfree(upper); + kmm_free(upper); } #endif /* CONFIG_TIMER */ |