pthread_join(__threadInfo, NULL);
delete [] __pRenderQueue;
+ delete [] __pRenderQueueForFlush;
delete __pTempNode;
}
for(int i=0; i<pendingTextureList.GetCount(); i++)
{
// AppLog("khee85::GlRenderManager DeleteTexture %d", i);
- context->DeleteTexture(pendingTextureList.GetTextureInfoAt(i));
+ TextureInfo* tempTextureInfo = pendingTextureList.GetTextureInfoAt(i);
+ context->DeleteTexture(tempTextureInfo);
+
+ if (tempTextureInfo->type == TEXTURE_NORMAL)
+ {
+ delete [] tempTextureInfo->pPixels;
+ tempTextureInfo->pPixels = null;
+ }
}
pendingTextureList.RemoveAllTextureInfo();
}
return true;
}
-
-
bool
_VisualElementSurfaceManager::CommandHandlerCreateTexture(TextureInfo* pTextureInfo)
{
const int sizeOfInt = static_cast<int>(sizeof(int));
namespace Tizen { namespace Ui { namespace Controls {
+_EcoreIpcMessage::~_EcoreIpcMessage()
+{
+ if(pData)
+ {
+ free(pData);
+ }
+}
_EcoreIpcSocket::_EcoreIpcSocket(void)
: __socketId(0)
int size = read(__socketId, buf, READ_BUFFER_SIZE);
if (size > 0)
{
- const IList* pMessageList = DecodeToMessageListN(buf, size);
- if (pMessageList != null && __pListener != null)
+ if (__pListener == null)
+ {
+ return r;
+ }
+ IList* pMessageList = DecodeToMessageListN(buf, size);
+ if (pMessageList != null )
{
int count = pMessageList->GetCount();
PRINT("_EcoreIpcSocket : DEFAULT !!!!\n");
break;
}
+ delete pMessage;
}
}
}
+ pMessageList->RemoveAll();
delete pMessageList;
}
return r;
}
-const IList*
+IList*
_EcoreIpcSocket::DecodeToMessageListN(unsigned char* pReadBuffer, int bufSize)
{
ArrayList* pMessageList = new ArrayList();
{
}
- virtual ~_EcoreIpcMessage(void) {}
+ virtual ~_EcoreIpcMessage(void);
public:
_EcoreIpcMessageType type;
void SetEcoreIpcSocketEventListener(_IEcoreIpcSocketEventListener* pListener);
private:
- const Tizen::Base::Collection::IList* DecodeToMessageListN(unsigned char* readBuffer, int size);
+ Tizen::Base::Collection::IList* DecodeToMessageListN(unsigned char* readBuffer, int size);
int SetMessageField(int out, int prev, int *mode);
const int GetMessageField(int in, int prev, int mode) const;