Allocated memory is not freed before returning from the function setCcbErrorString
. Here is the code (ImmModel.cc)
::: C++ void ImmModel::setCcbErrorString(...) { int errLen = strlen(errorString) + 1; char* fmtError = (char*)malloc(errLen); if ((ccb->mAugCcbParent && !ccb->mAugCcbParent->mOriginatingConn) || (!ccb->mOriginatingConn)) { ** return;** } ...
https://sourceforge.net/p/opensaf/mailman/message/36282941/
V2
https://sourceforge.net/p/opensaf/mailman/message/36284704/
commit 66cd4d96e13541b9b799c87894ba1bd986a4c6f3 (HEAD, origin/develop, ticket-2825, develop)
Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
Date: Tue Apr 17 14:30:52 2018 +0700
commit ed27311f642082a1acca44da0a729621db6cf5cd (HEAD, origin/release, release)
Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
Date: Tue Apr 17 14:30:52 2018 +0700