discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7f3d59f6f2608ad216840dc5de60e36429da6aa7

commit 7f3d59f6f2608ad216840dc5de60e36429da6aa7
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Aug 12 18:42:42 2015 -0400

    init null wl mime types array when new type is offered
---
 src/bin/e_comp_wl_data.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c
index a45c44d..06b17db 100644
--- a/src/bin/e_comp_wl_data.c
+++ b/src/bin/e_comp_wl_data.c
@@ -93,6 +93,8 @@ _e_comp_wl_data_source_cb_offer(struct wl_client *client 
EINA_UNUSED, struct wl_
    if (!(source = wl_resource_get_user_data(resource)))
      return;
 
+   if (!source->mime_types)
+     source->mime_types = eina_array_new(1);
    eina_array_push(source->mime_types, eina_stringshare_add(mime_type));
 }
 

-- 


Reply via email to