summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/dbus.c
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-03 20:40:18 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-03 20:40:18 +0000
commit729c53974af069078ea5f012d391e48074e33841 (patch)
tree888bc9753198ca723e68a761caaf303b17297134 /beryl-plugins/src/dbus.c
parent777255409e80dc2b74cfa8706f857a2838bdfe2e (diff)
downloadmarex-dev-729c53974af069078ea5f012d391e48074e33841.tar.gz
marex-dev-729c53974af069078ea5f012d391e48074e33841.tar.bz2
applied "unfreed memory in dbus.c dbusInitDisplay()" patch. closes #173
git-svn-id: file:///beryl/trunk@463 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/dbus.c')
-rw-r--r--beryl-plugins/src/dbus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/beryl-plugins/src/dbus.c b/beryl-plugins/src/dbus.c
index 86e3881..553c036 100644
--- a/beryl-plugins/src/dbus.c
+++ b/beryl-plugins/src/dbus.c
@@ -314,6 +314,7 @@ dbusInitDisplay (CompPlugin * p, CompDisplay * d)
programName, error.message);
dbus_error_free (&error);
+ free(dd);
return FALSE;
}
@@ -330,6 +331,7 @@ dbusInitDisplay (CompPlugin * p, CompDisplay * d)
dbus_connection_close (dd->connection);
dbus_error_free (&error);
+ free(dd);
return FALSE;
}
@@ -342,6 +344,7 @@ dbusInitDisplay (CompPlugin * p, CompDisplay * d)
"primary owner\n", programName);
dbus_connection_close (dd->connection);
+ free(dd);
return FALSE;
}
@@ -354,6 +357,7 @@ dbusInitDisplay (CompPlugin * p, CompDisplay * d)
programName);
dbus_connection_close (dd->connection);
+ free(dd);
return FALSE;
}
@@ -365,6 +369,7 @@ dbusInitDisplay (CompPlugin * p, CompDisplay * d)
programName);
dbus_connection_close (dd->connection);
+ free(dd);
return FALSE;
}