aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libappindicator/app-indicator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 1756687..d22161c 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -441,8 +441,8 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu
break;
case PROP_ICON_PATH:
- if (icon_path != NULL) {
- g_free(icon_path);
+ if (priv->icon_path != NULL) {
+ g_free(priv->icon_path);
}
priv->icon_path = g_value_dup_string(value);
break;