Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5df81855 authored by Santosh Madhava's avatar Santosh Madhava
Browse files

Fix for issue 3431967 : Memory leak from video editor engine

Change-Id: I4cc445ce7d41a4842dcf0b5ad1c729c0ae5553cd
parent 5d5aed9d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -55,6 +55,10 @@ VideoEditorAudioPlayer::~VideoEditorAudioPlayer() {
    if (mStarted) {
        reset();
    }
    if (mAudioProcess != NULL) {
        delete mAudioProcess;
        mAudioProcess = NULL;
    }
}

status_t VideoEditorAudioPlayer::start(bool sourceAlreadyStarted) {
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public:
    void veSetAudioProcessingParams(veAudMixSettings mixParams);
    M4OSA_Int32 veProcessAudioMixNDuck(void* , void *, void *);

protected:
    ~VideoEditorBGAudioProcessing();

private: