summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-20 08:25:15 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-20 08:25:15 +0100
commitf45eb6d3bac2de0cd890183583656411f0366f16 (patch)
tree1ed8490f74678be121d32247fac01658498514a7
parent0548e30af62395997767f51ac5c0804f8d7545cc (diff)
downloadconnman-f45eb6d3bac2de0cd890183583656411f0366f16.tar.gz
connman-f45eb6d3bac2de0cd890183583656411f0366f16.tar.bz2
connman-f45eb6d3bac2de0cd890183583656411f0366f16.zip
Add variable to hold a possible object path
-rw-r--r--include/element.h1
-rw-r--r--src/element.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/element.h b/include/element.h
index 327b8df0..083533da 100644
--- a/include/element.h
+++ b/include/element.h
@@ -95,6 +95,7 @@ struct connman_element {
gboolean remember;
guint16 priority;
guint8 strength;
+ gchar *devpath;
gchar *devname;
struct connman_element *parent;
diff --git a/src/element.c b/src/element.c
index 11450539..0352646b 100644
--- a/src/element.c
+++ b/src/element.c
@@ -1195,6 +1195,7 @@ void connman_element_unref(struct connman_element *element)
g_free(element->ipv4.broadcast);
g_free(element->ipv4.nameserver);
g_free(element->devname);
+ g_free(element->devpath);
g_free(element->path);
g_free(element->name);
g_free(element);