mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 10:46:02 +08:00
Fix environment sharing bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@854 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ int env_share(FAR _TCB *ptcb)
|
||||
{
|
||||
/* Yes.. increment the reference count on the environment */
|
||||
|
||||
envp++;
|
||||
envp->ev_crefs++;
|
||||
}
|
||||
|
||||
/* Then share the environment */
|
||||
|
||||
Reference in New Issue
Block a user