mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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",
|
||||
pservice->szService));
|
||||
|
||||
free_parameters_by_snum(getservicebyname(pservice->szService, NULL));
|
||||
free_parameters(pservice);
|
||||
|
||||
string_free(&pservice->szService);
|
||||
bitmap_free(pservice->copymap);
|
||||
|
Loading…
Reference in New Issue
Block a user