some compil warning fixes

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8638cd73b7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-22 (Fri, 22 Apr 2016)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-04-22 16:46:21 +02:00
parent 4736c000f7
commit d4334efc13
6 changed files with 12 additions and 12 deletions

View File

@@ -682,9 +682,12 @@ int CLuaInstance::GCWindow(lua_State *L)
else if (videoDecoder->getBlank())
CLuaInstVideo::getInstance()->channelRezap(L);
delete w->fbwin;
w->rcinput = NULL;
delete w;
if(w){
if(w->fbwin)
delete w->fbwin;
w->rcinput = NULL;
delete w;
}
return 0;
}