mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)
this was introduced by commit 3358a139d2
.
Michael
This commit is contained in:
parent
c2bd88f145
commit
51118b1974
@ -5783,7 +5783,7 @@ static void free_service(struct service *pservice)
|
|||||||
DEBUG(5, ("free_service: Freeing service %s\n",
|
DEBUG(5, ("free_service: Freeing service %s\n",
|
||||||
pservice->szService));
|
pservice->szService));
|
||||||
|
|
||||||
free_parameters_by_snum(getservicebyname(pservice->szService, NULL));
|
free_parameters(pservice);
|
||||||
|
|
||||||
string_free(&pservice->szService);
|
string_free(&pservice->szService);
|
||||||
bitmap_free(pservice->copymap);
|
bitmap_free(pservice->copymap);
|
||||||
|
Loading…
Reference in New Issue
Block a user