[gnome-bluetooth/wip/fixes] pairing-dialog: no need to use g_clear_pointer on finalize
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/fixes] pairing-dialog: no need to use g_clear_pointer on finalize
- Date: Thu, 18 Dec 2014 19:34:43 +0000 (UTC)
commit d24522720f601d7f34e98b60a086df02afddfb9b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Dec 18 20:34:24 2014 +0100
pairing-dialog: no need to use g_clear_pointer on finalize
lib/bluetooth-pairing-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-pairing-dialog.c b/lib/bluetooth-pairing-dialog.c
index c612c1b..35b1773 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -336,7 +336,7 @@ bluetooth_pairing_dialog_finalize (GObject *object)
BluetoothPairingDialogPrivate *priv = BLUETOOTH_PAIRING_DIALOG_GET_PRIVATE (BLUETOOTH_PAIRING_DIALOG
(object));
g_clear_object (&priv->builder);
- g_clear_pointer (&priv->pin, g_free);
+ g_free (priv->pin);
G_OBJECT_CLASS(bluetooth_pairing_dialog_parent_class)->finalize(object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]