diff options
author | Michael Adam <obnox@samba.org> | 2008-12-15 14:42:13 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-12-15 14:46:30 +0100 |
commit | 51118b1974fd91d7f60ed1a68e1eb5717690362b (patch) | |
tree | 72832ce0f23c268d10dd79c5ec1b2a60a97759af | |
parent | c2bd88f145d73e9a8613d32d313954e3ecdcacd2 (diff) | |
download | samba-51118b1974fd91d7f60ed1a68e1eb5717690362b.tar.gz samba-51118b1974fd91d7f60ed1a68e1eb5717690362b.tar.xz samba-51118b1974fd91d7f60ed1a68e1eb5717690362b.zip |
s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)
this was introduced by commit 3358a139d2dc77eb4c842d41722b1acc24bd2cb2.
Michael
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index f2a39d12de..9a55067b01 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -5783,7 +5783,7 @@ static void free_service(struct service *pservice) DEBUG(5, ("free_service: Freeing service %s\n", pservice->szService)); - free_parameters_by_snum(getservicebyname(pservice->szService, NULL)); + free_parameters(pservice); string_free(&pservice->szService); bitmap_free(pservice->copymap); |