Jihoon Kim 2014-01-09 09:08:32 +09:00
parent 7566c5bbb7
commit 955cc579d4
3 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ ecore_file_monitor_backend_add(const char *path,
ecore_file_monitor_backend_init(); ecore_file_monitor_backend_init();
} }
em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor_Inotify)); em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor));
if (!em) return NULL; if (!em) return NULL;
em->func = func; em->func = func;

View File

@ -167,7 +167,7 @@ rect_list_node_pool_get(void)
return node; return node;
} }
else else
return malloc(sizeof(rect_node_t)); return malloc(sizeof(list_node_t));
} }

View File

@ -72,7 +72,7 @@ rect_list_node_pool_get(void)
list_node_pool.len--; list_node_pool.len--;
return node; return node;
} }
else return (list_node_t *)malloc(sizeof(rect_node_t)); else return (list_node_t *)malloc(sizeof(list_node_t));
} }
static inline void static inline void