free operator
This commit is contained in:
parent
db0c2e4be4
commit
f180cf091c
|
@ -650,7 +650,7 @@ void destroyOperator(SOperatorInfo* pOperator) {
|
||||||
freeResetOperatorParams(pOperator, OP_GET_PARAM, true);
|
freeResetOperatorParams(pOperator, OP_GET_PARAM, true);
|
||||||
freeResetOperatorParams(pOperator, OP_NOTIFY_PARAM, true);
|
freeResetOperatorParams(pOperator, OP_NOTIFY_PARAM, true);
|
||||||
|
|
||||||
if (pOperator->fpSet.closeFn != NULL) {
|
if (pOperator->fpSet.closeFn != NULL && pOperator->info != NULL) {
|
||||||
pOperator->fpSet.closeFn(pOperator->info);
|
pOperator->fpSet.closeFn(pOperator->info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue