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.
This commit is contained in:
Joel Sherrill
2010-01-18 18:24:53 +00:00
parent abf9ea0c4e
commit 8c29e98ddf
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
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.
2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs_symlink.c: Spacing.

View File

@@ -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(