Simple leaks that valgrind reports.
{
ChamplainMapSourcePrivate *priv = map_source->priv;
+ g_free (priv->name);
priv->name = g_strdup (name);
}
{
ChamplainMapSourcePrivate *priv = map_source->priv;
+ g_free (priv->license);
priv->license = g_strdup (license);
}
else if (priv->background != NULL)
{
clutter_container_remove_actor (CLUTTER_CONTAINER (marker), priv->background);
+ g_object_unref (G_OBJECT (priv->background));
priv->background = NULL;
}
ChamplainTilePrivate *priv = GET_PRIVATE (self);
+ g_free (priv->uri);
priv->uri = g_strdup (uri);
g_object_notify (G_OBJECT (self), "uri");
}
ChamplainTilePrivate *priv = GET_PRIVATE (self);
+ g_free (priv->filename);
priv->filename = g_strdup (filename);
g_object_notify (G_OBJECT (self), "filename");
}