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

This commit is contained in:
Jacek Jendrzej
2017-10-17 12:42:32 +02:00
parent 0f8e614ee4
commit 79a9186515

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);