char *s, *p;
char *tag_start, *tag_end, *esc_start, *esc_end, *ts;
+ if (!mkup) return NULL;
tag_start = tag_end = esc_start = esc_end = NULL;
p = (char *)mkup;
s = p;
int str_len = 0, str_alloc = 0;
int ch, pos = 0, pos2 = 0;
+ if (!text) return NULL;
for (;;)
{
// FIXME: use evas_string_char_next_get()
EAPI void
elm_quicklaunch_shutdown(void)
{
+ const char *fontdir;
+
eina_stringshare_del(_elm_data_dir);
_elm_data_dir = NULL;
- const char *fontdir;
EINA_LIST_FREE(_elm_config->font_dirs, fontdir)
+ {
eina_stringshare_del(fontdir);
+ }
ecore_event_handler_del(_elm_exit_handler);
_elm_exit_handler = NULL;
perror("could not fork");
return 0;
}
+ setsid();
if (chdir(cwd) != 0)
perror("could not chdir");
args = alloca((argc + 1) * sizeof(char *));
perror("could not fork");
return 0;
}
+ setsid();
if (chdir(cwd) != 0)
perror("could not chdir");
ret = qr_main(argc, argv);
cache = eina_hash_string_superfast_new(NULL);
EINA_LIST_FREE(themes, p)
- eina_stringshare_del(p);
+ {
+ eina_stringshare_del(p);
+ }
themes = names;
return 1;