ecore_ipc: prevent a double free.
authorCedric Bail <cedric.bail@samsung.com>
Thu, 28 Nov 2013 08:17:09 +0000 (17:17 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Thu, 28 Nov 2013 08:17:09 +0000 (17:17 +0900)
commit403e97ecb08392cb7376cef024f4fff480efcff3
treeecc3057e3366349a063cc9aad78ea14b5fe7b9c9
parentd2c5a37f3778b2c984eaf92b2b8489078143224a
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.
src/lib/ecore_ipc/ecore_ipc.c