diff options
author | Simo Sorce <idra@samba.org> | 2001-09-17 03:33:37 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-17 03:33:37 +0000 |
commit | bcbd75f7add425ebee760ddbd2e80a1d4a51e619 (patch) | |
tree | b434877ae75febe93b4a1cb67cd2585d8bfd2a1a /source3/libsmb/clifile.c | |
parent | 484a7c0341fe033fe26fe1e6b597ed1c456c39d4 (diff) | |
download | samba-bcbd75f7add425ebee760ddbd2e80a1d4a51e619.tar.gz samba-bcbd75f7add425ebee760ddbd2e80a1d4a51e619.tar.bz2 samba-bcbd75f7add425ebee760ddbd2e80a1d4a51e619.zip |
move to SAFE_FREE()
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
Diffstat (limited to 'source3/libsmb/clifile.c')
-rw-r--r-- | source3/libsmb/clifile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index c6cf73bcf3..4e6a89a9ae 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -201,8 +201,8 @@ int cli_nt_delete_on_close(struct cli_state *cli, int fnum, BOOL flag) return False; } - if (rdata) free(rdata); - if (rparam) free(rparam); + SAFE_FREE(rdata); + SAFE_FREE(rparam); return True; } |