summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);