[at-spi2-atk] Add missing return on error
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Add missing return on error
- Date: Thu, 17 May 2018 14:03:46 +0000 (UTC)
commit 37d6e4cb96a7d8c56270c8758da49e33872f0a36
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Apr 27 11:14:46 2018 +0100
Add missing return on error
The leak fix in commit c45b5870 removed a return in an error path. Let's
put it back.
droute/droute.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/droute/droute.c b/droute/droute.c
index 838aacd..f38a5d8 100644
--- a/droute/droute.c
+++ b/droute/droute.c
@@ -330,6 +330,7 @@ impl_prop_GetSet (DBusMessage *message,
DBusMessage *ret;
ret = dbus_message_new_error (message, DBUS_ERROR_FAILED, error.message);
dbus_error_free (&error);
+ return ret;
}
_DROUTE_DEBUG ("DRoute (handle prop): %s|%s on %s\n", pair.one, pair.two, pathstr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]