ecore_ipc: remove duplicated condition

The same condition is used above.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12077
This commit is contained in:
Yeongjong Lee 2020-07-31 07:09:40 +00:00 committed by Stefan Schmidt
parent ebdbbb593a
commit 4e24854f46
1 changed files with 1 additions and 1 deletions

View File

@ -1851,7 +1851,7 @@ ecore_ipc_server_data_process(Ecore_Ipc_Server *svr, void *data, int size, Eina_
offset += (s + msg.size);
if ((svr->buf_size == offset) && (svr->buf))
{
if (svr->buf) free(svr->buf);
free(svr->buf);
svr->buf = NULL;
svr->buf_size = 0;
return ECORE_CALLBACK_CANCEL;