net: change split_hive_key() to properly allocate subkeyname
commitf488c38432c4708341bfc3c3ec5bced6b34cb84f
authorMichael Adam <obnox@samba.org>
Fri, 4 Apr 2008 15:24:53 +0000 (4 17:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 Apr 2008 14:18:08 +0000 (10 16:18 +0200)
treee9ecca00df17a3d66a94c9371e53af7c6ba5b9af
parent3d17d2f28d3af53f7f7db5fd39215894412a1d78
net: change split_hive_key() to properly allocate subkeyname

instead of returning a pointer into another string.

Michael
(cherry picked from commit 68d08ecf92be3444b759300237b2b7cf5238d022)
source/utils/net_registry.c
source/utils/net_registry_util.c
source/utils/net_registry_util.h
source/utils/net_rpc_registry.c