summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2020-07-31 07:09:40 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-07-31 10:14:00 +0200
commit4e24854f4624f8cdc73f25cda28508b58745d9ac (patch)
treec3191d8574709eb41420b9dde19ade889c6c7f80
parentebdbbb593ad328e5befb0426793137284ad38777 (diff)
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
-rw-r--r--src/lib/ecore_ipc/ecore_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index c21cbcc965..389d905d9e 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -1851,7 +1851,7 @@ ecore_ipc_server_data_process(Ecore_Ipc_Server *svr, void *data, int size, Eina_
1851 offset += (s + msg.size); 1851 offset += (s + msg.size);
1852 if ((svr->buf_size == offset) && (svr->buf)) 1852 if ((svr->buf_size == offset) && (svr->buf))
1853 { 1853 {
1854 if (svr->buf) free(svr->buf); 1854 free(svr->buf);
1855 svr->buf = NULL; 1855 svr->buf = NULL;
1856 svr->buf_size = 0; 1856 svr->buf_size = 0;
1857 return ECORE_CALLBACK_CANCEL; 1857 return ECORE_CALLBACK_CANCEL;