aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 2d1a7f2..08e4ba9 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -269,6 +269,13 @@ transport_widget_dispose (GObject *object)
}
}
#endif
+
+ TransportWidgetPrivate* priv = TRANSPORT_WIDGET_GET_PRIVATE(object);
+ if (priv->command_coordinates != NULL) {
+ g_hash_table_destroy (priv->command_coordinates);
+ priv->command_coordinates = NULL;
+ }
+
G_OBJECT_CLASS (transport_widget_parent_class)->dispose (object);
}