diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 13:06:14 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 13:06:14 +0200 |
commit | f0c4829e827210e6f58885994e18f77f9afc3b8c (patch) | |
tree | e3dc275e48331b89add00fddeae2d89d1dc7b93d /source3/utils/net_rpc_printer.c | |
parent | 58b4efc9b49c1cc366303a306639a3fc9321dcfe (diff) | |
download | samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.tar.gz samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.tar.bz2 samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.zip |
Remove silly safe_free() function which is a wrapper around SAFE_FREE().
Since it's a function it just sets the local pointer to NULL and basically
is an equivalent to free().
It also claims it's being used for callbacks but isn't used that way
anywhere.
Diffstat (limited to 'source3/utils/net_rpc_printer.c')
-rw-r--r-- | source3/utils/net_rpc_printer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c index f4b305d4ab..ddd18a7b9f 100644 --- a/source3/utils/net_rpc_printer.c +++ b/source3/utils/net_rpc_printer.c @@ -2482,7 +2482,7 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c, TALLOC_FREE( reg_ctr ); } - safe_free(keylist); + SAFE_FREE(keylist); /* close printer handles here */ if (got_hnd_src) { |