Diff between d7ea6429e14f101a885a5fbd6af3c8fc74060ab9 and b2873faecdf3eef6661989ae9b7f1f7d87b23220
Changed Files
| File | Additions | Deletions | Status |
| proximity/manager.c | +3 | -0 | modified |
Full Patch
diff --git a/proximity/manager.c b/proximity/manager.c
index a9526a1..30384d1 100644
--- a/proximity/manager.c
+++ b/proximity/manager.c
@@ -83,6 +83,9 @@ static void load_config_file(GKeyFile *config)
char **list;
int i;
+ if (config == NULL)
+ return;
+
list = g_key_file_get_string_list(config, "General", "Disable",
NULL, NULL);
for (i = 0; list && list[i] != NULL; i++) {