mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Rename kfree to kmm_free for consistency with other naming conventions
This commit is contained in:
+4
-4
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user