2007-10-24 Dan Williams <dcbw@redhat.com>

* src/supplicant-manager/nm-supplicant-interface.c
		- (blob_free): correctly free blob data after use
		- (call_set_blobs): use the right D-Bus interfaace for setBlobs



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3018 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-10-24 19:25:55 +00:00
parent 97d77a648c
commit 6a58b25532
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2007-10-24 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
- (blob_free): correctly free blob data after use
- (call_set_blobs): use the right D-Bus interfaace for setBlobs
2007-10-24 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c

View file

@ -1069,9 +1069,10 @@ byte_array_to_gvalue (const GByteArray *array)
}
static void
blob_free (GByteArray *array)
blob_free (GValue *val)
{
g_byte_array_free (array, TRUE);
g_value_unset (val);
g_slice_free (GValue, val);
}
static void
@ -1106,7 +1107,7 @@ call_set_blobs (NMSupplicantInfo *info, GHashTable *orig_blobs)
g_hash_table_foreach (orig_blobs, (GHFunc) convert_blob, blobs);
call = dbus_g_proxy_begin_call (priv->net_proxy, "setBlobs", set_blobs_cb,
call = dbus_g_proxy_begin_call (priv->iface_proxy, "setBlobs", set_blobs_cb,
info,
nm_supplicant_info_destroy,
DBUS_TYPE_G_STRING_VARIANT_HASHTABLE, blobs,