diff src/w32fns.c @ 99024:06856faf917a

* w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. Copied from 2005-02-03 change to xfns.c by Kim F. Storm.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 22 Oct 2008 09:33:30 +0000
parents 5f73593cabcd
children eccf5258acaf
line wrap: on
line diff
--- a/src/w32fns.c	Wed Oct 22 06:47:06 2008 +0000
+++ b/src/w32fns.c	Wed Oct 22 09:33:30 2008 +0000
@@ -4155,10 +4155,11 @@
 
       x_free_frame_resources (f);
 
+#if GLYPH_DEBUG
       /* Check that reference counts are indeed correct.  */
       xassert (dpyinfo->reference_count == dpyinfo_refcount);
       xassert (dpyinfo->image_cache->refcount == image_cache_refcount);
-
+#endif
       return Qt;
     }