diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-18 18:24:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-18 18:24:53 +0000 |
commit | 8c29e98ddf6d26a950213ddf3bd06dfbdb50c0cf (patch) | |
tree | 49dae89b5fd24b8b57ee60f869b12e892916c250 /cpukit/libfs | |
parent | 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8c29e98ddf6d26a950213ddf3bd06dfbdb50c0cf.tar.bz2 |
2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs_symlink.c: Add comment on Coverity CID22. This is
not a resource leak.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_symlink.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_symlink.c b/cpukit/libfs/src/imfs/imfs_symlink.c index d82a67d46f..a6d2247e46 100644 --- a/cpukit/libfs/src/imfs/imfs_symlink.c +++ b/cpukit/libfs/src/imfs/imfs_symlink.c @@ -54,6 +54,12 @@ int IMFS_symlink( /* * Create a new link node. + * + * NOTE: Coverity CID 22 notes this as a resource leak. We are ignoring + * this analysis because in this particular case it is wrong. This + * method creates a symbolic link node for the IMFS. The memory + * allocated must persist for the life of the symbolic link not + * the life of the method. */ new_node = IMFS_create_node( |