aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 26eaf78..981c286 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -356,9 +356,14 @@ blacklist_add (gpointer udata)
gchar * contents = NULL;
if (symlink_target)
+ {
blacklist_add_core (symlink_target, definition_file);
+ g_free (symlink_target);
+ }
else if (g_str_has_suffix (definition_file, ".desktop"))
+ {
blacklist_add_core(definition_file, definition_file);
+ }
else if (g_file_get_contents (definition_file, &contents, NULL, NULL))
{
gchar *trimmed = pango_trim_string (contents);