lib/param: avoid talloc_reference() in copy_service()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jan 2012 12:47:08 +0000 (13:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 11 Jan 2012 15:13:50 +0000 (16:13 +0100)
commitd7dcbcc42d9a8424ec2204a220b3b912b7be2f70
tree77849930b5610584838e3587e8dff729b091932d
parent97818fd6e552f6ddc30f5b9728d6e82121150867
lib/param: avoid talloc_reference() in copy_service()

The memory reduction compared of talloc_reference() over talloc_strdup()
is typically very low. As the strings are typically short compared
to the talloc header overhead.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 11 16:13:50 CET 2012 on sn-devel-104
lib/param/loadparm.c