diff options
author | Alban Browaeys <prahal@yahoo.com> | 2013-05-01 10:48:28 +0200 |
---|---|---|
committer | Alejandro PiƱeiro <apinheiro@igalia.com> | 2013-07-04 12:06:52 +0200 |
commit | 0777b8674c930f999864441902db58a5357e6655 (patch) | |
tree | 518a04bec01e3bccef7c021a8ea71428b4fd952e | |
parent | 39d8056ed91f33bf26323764011624432f9bfc0e (diff) | |
download | atk-0777b8674c930f999864441902db58a5357e6655.tar.gz |
atksocket: Fix typo - parameter is _obj not obj. Set freed to NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=699368
-rw-r--r-- | atk/atksocket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atk/atksocket.c b/atk/atksocket.c index 15c1e31..cf36377 100644 --- a/atk/atksocket.c +++ b/atk/atksocket.c @@ -47,9 +47,10 @@ atk_socket_class_init (AtkSocketClass* klass) static void atk_socket_finalize (GObject *_obj) { - AtkSocket *obj = ATK_SOCKET (obj); + AtkSocket *obj = ATK_SOCKET (_obj); g_free (obj->embedded_plug_id); + obj->embedded_plug_id = NULL; G_OBJECT_CLASS (atk_socket_parent_class)->finalize (_obj); } |