[Cogl] [PATCH] cogl-pango-fontmap: Use the right unref function for the renderer
Robert Bragg
robert at sixbynine.org
Wed Jun 20 03:08:39 PDT 2012
This looks good to land to me.
Reviewed-by: Robert Bragg <robert at linux.intel.com>
thanks,
- Robert
On Fri, Jun 1, 2012 at 12:28 PM, Neil Roberts <neil at linux.intel.com> wrote:
> The renderer was being unrefed with cogl_object_unref but it's
> actually a GObject.
> ---
> cogl-pango/cogl-pango-fontmap.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/cogl-pango/cogl-pango-fontmap.c b/cogl-pango/cogl-pango-fontmap.c
> index 4016811..e8df836 100644
> --- a/cogl-pango/cogl-pango-fontmap.c
> +++ b/cogl-pango/cogl-pango-fontmap.c
> @@ -61,7 +61,7 @@ free_priv (gpointer data)
> CoglPangoFontMapPriv *priv = data;
>
> cogl_object_unref (priv->ctx);
> - cogl_object_unref (priv->renderer);
> + g_object_unref (priv->renderer);
>
> g_free (priv);
> }
> --
> 1.7.3.16.g9464b
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl
More information about the Cogl
mailing list