diff options
author | Simo Sorce <idra@samba.org> | 2001-09-17 02:19:44 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-17 02:19:44 +0000 |
commit | 484a7c0341fe033fe26fe1e6b597ed1c456c39d4 (patch) | |
tree | c2f2344c757fffba5b6cc190e6ed13ef64b89266 /source3/lib/cmd_interp.c | |
parent | 31c3f7a8b2ff62d4cfc1ed9d831b95eba0da525f (diff) | |
download | samba-484a7c0341fe033fe26fe1e6b597ed1c456c39d4.tar.gz samba-484a7c0341fe033fe26fe1e6b597ed1c456c39d4.tar.bz2 samba-484a7c0341fe033fe26fe1e6b597ed1c456c39d4.zip |
move to SAFE_FREE()
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
Diffstat (limited to 'source3/lib/cmd_interp.c')
-rw-r--r-- | source3/lib/cmd_interp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/cmd_interp.c b/source3/lib/cmd_interp.c index 62e361408b..5ebb8a94d2 100644 --- a/source3/lib/cmd_interp.c +++ b/source3/lib/cmd_interp.c @@ -66,9 +66,9 @@ FILE *out_hnd; static void cmd_set_free(struct command_set *item) { if (item != NULL) - safe_free(item->name); + SAFE_FREE(item->name); - safe_free(item); + SAFE_FREE(item); } static struct command_set *cmd_set_dup(const struct command_set *from) @@ -432,7 +432,7 @@ static uint32 process(struct client_info *info, char *cmd_str) if (!(ret_line = readline(pline))) break; - safe_free(ret_line); + SAFE_FREE(ret_line); /* Copy read line to samba buffer */ |