diff --git a/docs/reference/glib/running.xml b/docs/reference/glib/running.xml
index aaafddf1d..80a8da097 100644
--- a/docs/reference/glib/running.xml
+++ b/docs/reference/glib/running.xml
@@ -201,8 +201,11 @@ How to run and debug your GLib application
reproduced with G_SLICE=always-malloc, but will
be caught by G_SLICE=debug-blocks is as follows:
- void *slist = g_slist_alloc (); /* void* gives up type-safety */
- g_list_free (slist); /* corruption: sizeof (GSList) != sizeof (GList) */
+ /* void* gives up type-safety */
+ void *slist = g_slist_alloc ();
+
+ /* corruption: sizeof (GSList) != sizeof (GList) */
+ g_list_free (slist);