mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 08:10:21 +00:00
env: Always call env_release in group_release
Remove unnecessary #ifdef CONFIG_DISABLE_ENVIRON. This makes sure environment resources are always cleaned up, regardless of configuration. Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
dd76bf54d1
commit
eb65ea5612
1 changed files with 0 additions and 2 deletions
|
|
@ -104,11 +104,9 @@ group_release(FAR struct task_group_s *group, uint8_t ttype)
|
|||
|
||||
fdlist_free(&group->tg_fdlist);
|
||||
|
||||
#ifndef CONFIG_DISABLE_ENVIRON
|
||||
/* Release all shared environment variables */
|
||||
|
||||
env_release(group);
|
||||
#endif
|
||||
|
||||
/* Destroy the mm_map list */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue