Service users are set to NULL after they are freed.

This commit is contained in:
Markus Makela
2015-11-11 17:10:16 +02:00
parent c5c416e7fe
commit 264944ff23
3 changed files with 7 additions and 2 deletions

View File

@ -786,7 +786,7 @@ maxinfo_add_mysql_user(SERVICE *service) {
"maxinfo: create hex_sha1_sha1_password failed for service user %s",
service_user)));
users_free(service->users);
service->users = NULL;
return 1;
}