s3-epmapper: Fix allocation of data on the wrong context
commit7ae0d6404ed4a02702be139329939b2d7f0c9c5d
authorSimo Sorce <idra@samba.org>
Thu, 24 Mar 2011 12:23:48 +0000 (24 08:23 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 24 Mar 2011 21:15:15 +0000 (24 17:15 -0400)
tree51711342fc7f5128030408bcb5085fd46da3b19c
parent409e67e780ad8b90d7d7a1a11f8c920e9a86381b
s3-epmapper: Fix allocation of data on the wrong context

p->mem_ctx is the short-lived per request context, while this data is long
lived, allocate on p instead.
source3/rpc_server/epmapper/srv_epmapper.c