From: WooHyun Jung Date: Mon, 24 Jan 2011 03:19:57 +0000 (+0900) Subject: svn update: 56223 (latest:56223) X-Git-Tag: 2.0_alpha~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=041d3d7df4146cd9d4b8b36db595894f6065602b;p=framework%2Fuifw%2Fedbus.git svn update: 56223 (latest:56223) --- diff --git a/src/lib/hal/e_hal_util.c b/src/lib/hal/e_hal_util.c index d07e98a..9bdfa98 100644 --- a/src/lib/hal/e_hal_util.c +++ b/src/lib/hal/e_hal_util.c @@ -32,6 +32,7 @@ e_hal_property_string_get(E_Hal_Properties *properties, const char *key, int *er { E_Hal_Property *prop; if (err) *err = 0; + if (!properties) return NULL; if (!properties->properties) return NULL; if (!key) return NULL; prop = eina_hash_find(properties->properties, key); @@ -46,6 +47,7 @@ e_hal_property_bool_get(E_Hal_Properties *properties, const char *key, int *err) { E_Hal_Property *prop; if (err) *err = 0; + if (!properties) return EINA_FALSE; if (!properties->properties) return EINA_FALSE; if (!key) return EINA_FALSE; prop = eina_hash_find(properties->properties, key); @@ -60,6 +62,7 @@ e_hal_property_int_get(E_Hal_Properties *properties, const char *key, int *err) { E_Hal_Property *prop; if (err) *err = 0; + if (!properties) return 0; if (!properties->properties) return 0; if (!key) return 0; prop = eina_hash_find(properties->properties, key); @@ -74,6 +77,7 @@ e_hal_property_uint64_get(E_Hal_Properties *properties, const char *key, int *er { E_Hal_Property *prop; if (err) *err = 0; + if (!properties) return 0; if (!properties->properties) return 0; if (!key) return 0; prop = eina_hash_find(properties->properties, key); @@ -88,6 +92,7 @@ e_hal_property_double_get(E_Hal_Properties *properties, const char *key, int *er { E_Hal_Property *prop; if (err) *err = 0; + if (!properties) return 0; if (!properties->properties) return 0; if (!key) return 0; prop = eina_hash_find(properties->properties, key); @@ -102,6 +107,7 @@ e_hal_property_strlist_get(E_Hal_Properties *properties, const char *key, int *e { E_Hal_Property *prop; if (err) *err = 0; + if (!properties) return NULL; if (!properties->properties) return NULL; if (!key) return NULL; prop = eina_hash_find(properties->properties, key);