[gnome-bluetooth] 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] pairing-dialog: no need to use g_clear_pointer on finalize
- Date: Mon, 5 Jan 2015 10:16:35 +0000 (UTC)
commit 3bcebc71fb123879f79384064e4074ce8cbd1462
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
https://bugzilla.gnome.org/show_bug.cgi?id=742359
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 46dd784..4837be5 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -337,7 +337,7 @@ bluetooth_pairing_dialog_finalize (GObject *object)
BluetoothPairingDialogPrivate *priv = BLUETOOTH_PAIRING_DIALOG_GET_PRIVATE (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]