diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index ea9376e71..7d3689b91 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -709,7 +709,7 @@ cogl_pop_framebuffer (void)
 
   cogl_object_unref (to_pop);
   ctx->framebuffer_stack =
-    g_slist_remove_link (ctx->framebuffer_stack,
+    g_slist_delete_link (ctx->framebuffer_stack,
                          ctx->framebuffer_stack);
 
   /* If the framebuffer has changed as a result of popping the top