xfree: move xfree() function to xmalloc.c
Signed-off-by: whzhe <wanghongzhe@huawei.com>
This commit is contained in:
1 parent
18c5c6139d
commit
e24700fd5d
3 files changed
+8
-6
No files matched your search
@@ -123,12 +123,6 @@ static void log_gpasswd_success (const char *suffix);
|
||||
static void log_gpasswd_success_system (/*@null@*/unused void *arg);
|
||||
static void log_gpasswd_success_group (/*@null@*/unused void *arg);
|
||||
|
||||
static void xfree(void* p) {
|
||||
if (p) {
|
||||
free(p);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* usage - display usage message
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user