Skip to content

Commit

Permalink
Merge branch 'leak' into 'master'
Browse files Browse the repository at this point in the history
Fix memory leak in NemoVideoTextureBackend::probe

See merge request mer-core/nemo-qtmultimedia-plugins!3
  • Loading branch information
Andrew Branson committed May 2, 2018
2 parents fd04565 + 7227c86 commit 5d56a94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/videotexturebackend/videotexturebackend.cpp
Expand Up @@ -807,6 +807,8 @@ GstPadProbeReturn NemoVideoTextureBackend::probe(GstPad *, GstPadProbeInfo *info
} else {
orientation = 0;
}

g_free(orientationTag);
} else if (GST_EVENT_TYPE(event) == GST_EVENT_STREAM_START) {
orientation = 0;
}
Expand Down

0 comments on commit 5d56a94

Please sign in to comment.