Closed FrancoisRegisDegott-eaton closed 1 year ago
zhash_autofree() means duplication of value (char*) is automatically done. So don't strdup() key!/value here.
https://github.com/42ity/fty-rest/blob/794914c0fc573b440a1ad0a89f1a717f5b5a3541/src/shared/configure_inform.cc#L35
done in https://jira-prod.tcc.etn.com/browse/IPMPROG-5877
zhash_autofree() means duplication of value (char*) is automatically done. So don't strdup() key!/value here.
https://github.com/42ity/fty-rest/blob/794914c0fc573b440a1ad0a89f1a717f5b5a3541/src/shared/configure_inform.cc#L35