forked from enlightenment/efl
evas/cserve2: Fix segfault in cserve2 slave
Slaves always crash when loading SVG images. The svg module was simply not a dynamic module.
This commit is contained in:
parent
50be9145a1
commit
94f0e1b3e1
|
@ -364,7 +364,7 @@ try_extension:
|
||||||
if (loader)
|
if (loader)
|
||||||
{
|
{
|
||||||
module = evas_module_find_type(EVAS_MODULE_TYPE_IMAGE_LOADER, loader);
|
module = evas_module_find_type(EVAS_MODULE_TYPE_IMAGE_LOADER, loader);
|
||||||
if (_image_file_header(fd, skey, &load_opts, result, module))
|
if (module && _image_file_header(fd, skey, &load_opts, result, module))
|
||||||
goto success;
|
goto success;
|
||||||
loader = NULL;
|
loader = NULL;
|
||||||
module = NULL;
|
module = NULL;
|
||||||
|
|
|
@ -128,7 +128,8 @@ _slave_proc_dead_cb(int pid, int status EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Slave_Proc *s;
|
Slave_Proc *s;
|
||||||
|
|
||||||
INF("Child dead with pid '%d'.", pid);
|
INF("Child dead with pid '%d': signal %d",
|
||||||
|
pid, WIFSIGNALED(status) ? WTERMSIG(status) : 0);
|
||||||
s = _slave_proc_find(pid);
|
s = _slave_proc_find(pid);
|
||||||
if (!s)
|
if (!s)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue