Commit Graph

18 Commits

Author SHA1 Message Date
Shinwoo Kim 4c1b5a5e30 ecore_ipc: coverity issue - you cannot return without free
Summary: The allocated memory is not released before return.

Lost track of the CID.

Test Plan: Run static analysis tool such as prevent

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1746

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-12 04:05:40 +01:00
Pierre Le Magourou 1c0390bf08 ecore_ipc: update missing API documentation. 2014-10-20 18:32:27 +02:00
Jihoon Kim cb9dedd44d fix typos in EFL documents 2014-01-07 14:28:45 +09:00
Daniel Juyung Seo 76d8532b54 efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 12:27:13 +09:00
Cedric Bail 403e97ecb0 ecore_ipc: prevent a double free.
According to clang static analyzer it is possible to find a path where
buf and svr->buf are pointing to the same array, better be safe than sorry.
Arguably this code could be more readable if it was using Eina_Binbuf.
2013-11-28 17:17:09 +09:00
Cedric Bail 672bd97cea ecore_ipc: use the new eina_swap*(). 2013-10-02 20:54:50 +09:00
Carsten Haitzler 59ea842b22 fix clang bad free better. :) 2013-07-16 18:58:20 +09:00
Carsten Haitzler e1e50b8387 fix clang bad free complaint 2013-07-16 17:54:26 +09:00
Carsten Haitzler fad576295e somehow buf is freed once its put into an event.. but before event is
processed. don't allow this.
2013-07-09 12:18:37 +09:00
Chris Michael 1debfc141a Initialize 'buf' to NULL (to avoid compiler warning)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-08 16:08:14 +01:00
Chris Michael aedff2dc31 Fix memleaks reported by Coverity: Setting 'buf' to NULL (without
freeing first) leaks the storage that buf Did point to (which could
have been from a realloc above).

NB: Fixes Coverity CID1039277, CID1039278

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:50:38 +01:00
Chris Michael ca318c05fd Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:44:15 +01:00
Cedric Bail 1959898724 ecore_con: improve portability. 2013-03-16 15:40:26 +09:00
Lucas De Marchi 06ff74834f efl: remove checks for socket.h, net/*, arpa/*
SVN revision: 82585
2013-01-10 20:26:02 +00:00
Gustavo Sverzut Barbieri eb362c18e4 efl/ecore_ipc: fix doxygen hierarchy.
SVN revision: 81837
2012-12-28 19:49:35 +00:00
Mike Blumenkrantz b2de05f49a all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
2012-12-24 09:35:56 +00:00
Jonas M. Gastal e3ae81e65f efl: Created Ecore group and added existing Ecore groups to it.
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00