GRegex *re = NULL;
GError *err = NULL;
GIOChannel *channel = NULL;
- gchar *path = NULL;
- gchar *buf = NULL;
+ gchar *path = NULL, *buf = NULL;
path = g_build_filename(g_get_user_config_dir(), __NAME__, "adblock.black",
NULL);
{
GIOChannel *towatch;
const gchar *e;
- gchar *fifofilename;
- gchar *fifopath;
+ gchar *fifofilename, *fifopath;
e = g_getenv(__NAME_UPPERCASE__"_FIFO_SUFFIX");
if (e != NULL)
{
GError *err = NULL;
GIOChannel *channel = NULL;
- gchar *path = NULL;
- gchar *buf = NULL;
+ gchar *path = NULL, *buf = NULL;
gchar **tokens = NULL;
keywords = g_hash_table_new(g_str_hash, g_str_equal);
{
gboolean ret = FALSE;
gchar **tokens = NULL;
- gchar *val = NULL;
- gchar *uri = NULL;
+ gchar *val = NULL, *uri = NULL;
tokens = g_strsplit(t, " ", 2);
if (tokens[0] != NULL && tokens[1] != NULL)