From c8faf0ce1ee2af287542fb86887ba05580de8421 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 16 Jun 2017 18:22:19 +0200 Subject: [PATCH] libdvbsub: add missing free() call Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1900bd12b144303a38ffea93b1f8f7bf93477501 Author: vanhofen Date: 2017-06-16 (Fri, 16 Jun 2017) Origin message was: ------------------ - libdvbsub: add missing free() call --- lib/libdvbsub/dvbsubtitle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libdvbsub/dvbsubtitle.cpp b/lib/libdvbsub/dvbsubtitle.cpp index c359167b4..98d147b78 100644 --- a/lib/libdvbsub/dvbsubtitle.cpp +++ b/lib/libdvbsub/dvbsubtitle.cpp @@ -140,6 +140,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;