forked from enlightenment/efl
small theoretical oopsie waiting to happen - won't ever, but guar
against it anyway. SVN revision: 75232
This commit is contained in:
parent
e78b572443
commit
61ba84e86d
|
@ -1223,6 +1223,7 @@ _ipc_server_data(void *data, int type __UNUSED__, void *event)
|
||||||
if ((e->data) && (e->size > 0) &&
|
if ((e->data) && (e->size > 0) &&
|
||||||
(((unsigned char *)e->data)[e->size - 1] == 0))
|
(((unsigned char *)e->data)[e->size - 1] == 0))
|
||||||
{
|
{
|
||||||
|
if (extn->file.have_lock) _ecore_evas_socket_unlock(ee);
|
||||||
if (extn->file.lockfd) close(extn->file.lockfd);
|
if (extn->file.lockfd) close(extn->file.lockfd);
|
||||||
if (extn->file.lock) eina_stringshare_del(extn->file.lock);
|
if (extn->file.lock) eina_stringshare_del(extn->file.lock);
|
||||||
extn->file.lock = eina_stringshare_add(e->data);
|
extn->file.lock = eina_stringshare_add(e->data);
|
||||||
|
|
Loading…
Reference in New Issue