42ity / fty-rest

REST API module
Other
0 stars 18 forks source link

memory leaks #849

Closed FrancoisRegisDegott-eaton closed 1 year ago

FrancoisRegisDegott-eaton commented 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

FrancoisRegisDegott-eaton commented 1 year ago

done in https://jira-prod.tcc.etn.com/browse/IPMPROG-5877