summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_rpc_printer.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-19 13:06:14 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-19 13:06:14 +0200
commitf0c4829e827210e6f58885994e18f77f9afc3b8c (patch)
treee3dc275e48331b89add00fddeae2d89d1dc7b93d /source3/utils/net_rpc_printer.c
parent58b4efc9b49c1cc366303a306639a3fc9321dcfe (diff)
downloadsamba-f0c4829e827210e6f58885994e18f77f9afc3b8c.tar.gz
samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index f4b305d4ab1..ddd18a7b9f7 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) {