Add function header comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11500
6f19259b-4bc3-4df7-8a09-
765794883524
}\r
}\r
}\r
- if (FileNode != NULL) {\r
- FreePool (FileNode);\r
- }\r
\r
//\r
//If always Free FilePath, will free devicepath in system when use "addh"\r
//\r
-\r
if (FilePath!=NULL && !UseHandle) {\r
FreePool (FilePath);\r
}\r
return (SHELL_SUCCESS);\r
}\r
\r
+/**\r
+ Function to add optional data to an option.\r
+\r
+ @param[in] OptData The optional data to add.\r
+ @param[in] Target The target of the operation.\r
+\r
+ @retval SHELL_SUCCESS The operation was succesful.\r
+**/\r
SHELL_STATUS\r
EFIAPI\r
BcfgAddOptDebug1(\r
}\r
}\r
}\r
- if (FileNode != NULL) {\r
- FreePool (FileNode);\r
- }\r
\r
//\r
//If always Free FilePath, will free devicepath in system when use "addh"\r
//\r
-\r
if (FilePath!=NULL && !UseHandle) {\r
FreePool (FilePath);\r
}\r
return (SHELL_SUCCESS);\r
}\r
\r
+/**\r
+ Function to add optional data to an option.\r
+\r
+ @param[in] OptData The optional data to add.\r
+ @param[in] Target The target of the operation.\r
+\r
+ @retval SHELL_SUCCESS The operation was succesful.\r
+**/\r
SHELL_STATUS\r
EFIAPI\r
BcfgAddOptInstall1(\r