movieplayer.cpp remove free , attempting free on address which was not malloc()-ed

Origin commit data
------------------
Branch: ni/coolstream
Commit: 79a9186515
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-10-17 (Tue, 17 Oct 2017)

Origin message was:
------------------
movieplayer.cpp remove free , attempting free on address which was not malloc()-ed

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-10-17 12:42:32 +02:00
parent 3a268e12c5
commit db35c38ba6

View File

@@ -2520,7 +2520,6 @@ void CMoviePlayerGui::showSubtitle(neutrino_msg_data_t data)
#endif #endif
frameBuffer->blit2FB(newdata, nw, nh, xoff, yoff); frameBuffer->blit2FB(newdata, nw, nh, xoff, yoff);
free(newdata);
min_x = std::min(min_x, xoff); min_x = std::min(min_x, xoff);
max_x = std::max(max_x, xoff + nw); max_x = std::max(max_x, xoff + nw);