URL:
https://github.com/SSSD/sssd/pull/5750
Title: #5750: fix compilation warnings
elkoniu commented:
"""
I think @alexey-tikhonov is right, you can just change signature of `sss_getenv()` to
return `const char*`. As this memory is released by talloc there will be no issue with
calling `free()` on const pointer.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5750#issuecomment-900330779