jpeg: fix memory leak
authortheuni <theuni-nospam-@xbmc.org>
Thu, 22 Sep 2011 21:19:08 +0000 (17:19 -0400)
committertheuni <theuni-nospam-@xbmc.org>
Thu, 22 Sep 2011 21:20:01 +0000 (17:20 -0400)
Thanks to machrider for the quick report

xbmc/guilib/JpegIO.cpp

index 0e27d44..207c697 100644 (file)
@@ -273,6 +273,7 @@ bool CJpegIO::Decode(const unsigned char *pixels, unsigned int format)
         }
         dst += pitch;
       }
+      delete[] row;
     }
     else
     {