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)
commitc38d8396c513d4c418f64b27a9f7c25757388674
treedd6d5a1abd407a0b763787a8e2a6bfb323d6d42f
parent8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f
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.
source/nsswitch/idmap.c