fix alloc-dealloc-mismatch

Origin commit data
------------------
Branch: ni/coolstream
Commit: 95fb4dab86
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-09-24 (Thu, 24 Sep 2015)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-09-24 14:26:13 +02:00
parent 3d9bb86385
commit 1fa1b4bf9b

View File

@@ -631,8 +631,8 @@ void* CMoviePlayerGui::bgPlayThread(void *arg)
eof = 0; eof = 0;
if (eof > 5) { if (eof > 5) {
printf("CMoviePlayerGui::bgPlayThread: playback stopped, try to rezap...\n"); printf("CMoviePlayerGui::bgPlayThread: playback stopped, try to rezap...\n");
t_channel_id * chid = new t_channel_id; unsigned char *chid = new unsigned char[sizeof(t_channel_id)];
*chid = mp->movie_info.epgId; *(t_channel_id*)chid = mp->movie_info.epgId;
g_RCInput->postMsg(NeutrinoMessages::EVT_WEBTV_ZAP_COMPLETE, (neutrino_msg_data_t) chid); g_RCInput->postMsg(NeutrinoMessages::EVT_WEBTV_ZAP_COMPLETE, (neutrino_msg_data_t) chid);
break; break;
} }