s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctx
authorMichael Adam <obnox@samba.org>
Mon, 20 Sep 2010 04:03:58 +0000 (06:03 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 21 Sep 2010 04:53:31 +0000 (06:53 +0200)
commit9fee03365621cca011da4521d98f1e1aa2882278
tree3be5d1af8213cd35fbe2181be8f215b80fde7306
parent464515cd610b5ee3862d8bc8558cd698d4f7258e
s3:services_db: rewrite svcctl_lookup_description() to use a tmp talloc ctx

Also remove a possible memory by tallocing the result string
also in a default case, where a string constant was returned before.
source3/services/services_db.c