diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c index fe2bee974..f8a7af7b6 100644 --- a/cogl/cogl-context.c +++ b/cogl/cogl-context.c @@ -196,6 +196,7 @@ cogl_context_new (CoglDisplay *display, } display = cogl_display_new (renderer, NULL); + cogl_object_unref(renderer); } else cogl_object_ref (display);