diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index f1887cd..9e0f41e 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -738,7 +738,7 @@ QSharedPointer br::Transform::fromAlgorithm(const QString &algori stages.append(transform.data()); stages.append(progressCounter.data()); - QSharedPointer pipeline(pipeTransforms(stages)); + QScopedPointer pipeline(pipeTransforms(stages)); QSharedPointer stream(wrapTransform(pipeline.data(), "Stream(readMode=DistributeFrames)")); return stream;