From 89f9ae85f07ffc900a0698be718e4e635db282f4 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 12 Oct 2017 12:26:02 +0200 Subject: [PATCH] - libdvbsub: add missing free() call Signed-off-by: J. Krieg Signed-off-by: Thilo Graf --- lib/libdvbsub/dvbsubtitle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libdvbsub/dvbsubtitle.cpp b/lib/libdvbsub/dvbsubtitle.cpp index 897f9fc49..5ec75dded 100644 --- a/lib/libdvbsub/dvbsubtitle.cpp +++ b/lib/libdvbsub/dvbsubtitle.cpp @@ -139,6 +139,7 @@ void cDvbSubtitleBitmaps::Draw(int &min_x, int &min_y, int &max_x, int &max_y) #endif CFrameBuffer::getInstance()->blit2FB(newdata, nw, nh, xoff, yoff, 0, 0); + free(newdata); if(min_x > xoff) min_x = xoff;