r22230: Let's just cast here, the 2 calls have different allocation mechanisms.
authorSimo Sorce <idra@samba.org>
Sun, 15 Apr 2007 23:58:39 +0000 (23:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:21 +0000 (12:19 -0500)
commit0dd0aab2bc6a5c128f49d46ae9e126e15a54f917
tree72b881723129249f77fe1d23f9fe9ba729300276
parent8b3ea388bce4faf65a3a1722a456f82686863071
r22230: Let's just cast here, the 2 calls have different allocation mechanisms.
We just let domname and name hang on the mem ctx until the call returns,
and the context will be destroyed.

Simo.
(This used to be commit c38d8396c513d4c418f64b27a9f7c25757388674)
source3/nsswitch/idmap.c