Paul Chitescu paulc@voip.null.ro writes:
@@ -569,11 +569,11 @@ DWORD svcctl_ChangeServiceConfigW( new_entry.config.lpDisplayName = strdupW(lpDisplayName); }
- *service->service_entry = new_entry;
- save_service_config(service->service_entry);
- err = save_service_config(&new_entry);
- if (ERROR_SUCCESS == err) *service->service_entry = new_entry; service_unlock(service->service_entry);
This can't work, the strings have been freed already.