close File point when it was opened in C files

Closes-Bug:1791880

Change-Id: I392bfa8b864d18b00ba18958fce8233f950b00b9
Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
Sun Austin 2018-10-17 09:35:51 +08:00
parent accf67c475
commit 424a3c4463
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ SmErrorT sm_node_utils_set_unhealthy( void )
SM_NODE_UNHEALTHY_FILE, strerror(errno) );
return( SM_FAILED );
}
close(fd);
return( SM_OKAY );
}
// ****************************************************************************