git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3270 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2008-01-26 05:53:29 +00:00
parent 4c2f6219a9
commit 7bd325bc42

View File

@@ -323,8 +323,11 @@ get_product_and_vendor (DBusGConnection *connection,
} }
if (parent && tmp_product && tmp_vendor) { if (parent && tmp_product && tmp_vendor) {
*product = g_strdup (tmp_product); *product = tmp_product;
*vendor = g_strdup (tmp_vendor); *vendor = tmp_vendor;
} else {
g_free (tmp_product);
g_free (tmp_vendor);
} }
g_object_unref (proxy); g_object_unref (proxy);