diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-25 13:27:36 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-25 13:27:36 +0000 |
commit | 05e2dd440809840c88e07189d8b8fe66c917949b (patch) | |
tree | 7abb3d3d6867fb3d5476d9a39f00b9553f666b1d /common/gmountoperationdbus.c | |
parent | 961c3f0d8c0f4a43782c0df25eebc85f2944913d (diff) | |
download | gvfs-05e2dd440809840c88e07189d8b8fe66c917949b.tar.gz |
Plug some leaks on error paths
svn path=/trunk/; revision=1907
Diffstat (limited to 'common/gmountoperationdbus.c')
-rw-r--r-- | common/gmountoperationdbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gmountoperationdbus.c b/common/gmountoperationdbus.c index f3f5cf5f..1027b3a9 100644 --- a/common/gmountoperationdbus.c +++ b/common/gmountoperationdbus.c @@ -225,6 +225,7 @@ mount_op_ask_password (GMountOperationDBus *op_dbus, if (!dbus_connection_send (op_dbus->connection, reply, NULL)) _g_dbus_oom (); dbus_message_unref (reply); + dbus_error_free (&error); return; } @@ -297,6 +298,7 @@ mount_op_ask_question (GMountOperationDBus *op_dbus, if (!dbus_connection_send (op_dbus->connection, reply, NULL)) _g_dbus_oom (); dbus_message_unref (reply); + dbus_error_free (&error); return; } |