A frame is allocated by MPEG2fixup::BuildFrame. It doesn't dealloc

From: Erik Hovland <erik@hovland.org>

when it can't find an MPEG encoder to work with the frame. It should.
---

 programs/mythtranscode/mpeg2fix.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/programs/mythtranscode/mpeg2fix.cpp b/programs/mythtranscode/mpeg2fix.cpp
index 3df1865..56b8845 100644
--- a/programs/mythtranscode/mpeg2fix.cpp
+++ b/programs/mythtranscode/mpeg2fix.cpp
@@ -1055,6 +1055,7 @@ int MPEG2fixup::BuildFrame(AVPacket *pkt, QString fname)
 
     if (! out_codec)
     {
+        free(picture);
         VERBOSE(MPF_IMPORTANT, "Couldn't find MPEC2 encoder");
         return 1;
     }
@@ -1102,6 +1103,7 @@ int MPEG2fixup::BuildFrame(AVPacket *pkt, QString fname)
 
     if (avcodec_open(c, out_codec) < 0)
     {
+        free(picture);
         VERBOSE(MPF_IMPORTANT, "could not open codec");
         return 1;
     }
