[rhythmbox] shell-player: avoid NULL unref when there's no next entry
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] shell-player: avoid NULL unref when there's no next entry
- Date: Fri, 19 Aug 2016 12:27:57 +0000 (UTC)
commit b58cf63f196b22a9bce31f1da8b8fd4403ed637a
Author: Jonathan Matthew <jonathan d14n org>
Date: Fri Aug 19 22:26:13 2016 +1000
shell-player: avoid NULL unref when there's no next entry
https://bugzilla.gnome.org/show_bug.cgi?id=770134
shell/rb-shell-player.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/shell/rb-shell-player.c b/shell/rb-shell-player.c
index 5aa03b1..2ad5de2 100644
--- a/shell/rb-shell-player.c
+++ b/shell/rb-shell-player.c
@@ -1749,9 +1749,10 @@ rb_shell_player_property_row_activated_cb (RBPropertyView *view,
rb_shell_player_error (player, FALSE, error);
g_clear_error (&error);
}
+
+ rhythmdb_entry_unref (entry);
}
- rhythmdb_entry_unref (entry);
g_object_unref (porder);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]