From f45eb6d3bac2de0cd890183583656411f0366f16 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 20 Dec 2008 08:25:15 +0100 Subject: [PATCH] Add variable to hold a possible object path --- include/element.h | 1 + src/element.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/element.h b/include/element.h index 327b8df..083533d 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 1145053..0352646 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); -- 2.7.4