mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 15:10:42 +01:00
fix double-free
This commit is contained in:
parent
b6a66de263
commit
406f20f0cf
@ -961,7 +961,7 @@ CODESTARTnewActInst
|
||||
ABORT_FINALIZE(RS_RET_MISSING_CNFPARAMS);
|
||||
}
|
||||
|
||||
tplToUse = (pData->tplName == NULL) ? ustrdup(getDfltTpl()) : pData->tplName;
|
||||
tplToUse = ustrdup((pData->tplName == NULL) ? getDfltTpl() : pData->tplName);
|
||||
CHKiRet(OMSRsetEntry(*ppOMSR, 0, tplToUse, OMSR_NO_RQD_TPL_OPTS));
|
||||
|
||||
if(pData->bDynamicName) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user