projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8181276
)
ecore_ipc: remove duplicated condition
author
Yeongjong Lee
<yj34.lee@samsung.com>
Fri, 31 Jul 2020 07:09:40 +0000
(07:09 +0000)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Sun, 2 Aug 2020 22:00:19 +0000
(07:00 +0900)
The same condition is used above.
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12077
src/lib/ecore_ipc/ecore_ipc.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_ipc/ecore_ipc.c
b/src/lib/ecore_ipc/ecore_ipc.c
index
44a36cd
..
22f15f3
100644
(file)
--- a/
src/lib/ecore_ipc/ecore_ipc.c
+++ b/
src/lib/ecore_ipc/ecore_ipc.c
@@
-1888,7
+1888,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;