forked from enlightenment/efl
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:
parent
ebdbbb593a
commit
4e24854f46
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue