changeset 69025:5d9232b72d14

(malloc_widget_value): Use xmalloc.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Feb 2006 01:14:07 +0000
parents fef6008cad43
children e9728e256a07
files src/gtkutil.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Mon Feb 20 00:56:31 2006 +0000
+++ b/src/gtkutil.c	Mon Feb 20 01:14:07 2006 +0000
@@ -199,7 +199,7 @@
     }
   else
     {
-      wv = (widget_value *) malloc (sizeof (widget_value));
+      wv = (widget_value *) xmalloc (sizeof (widget_value));
       malloc_cpt++;
     }
   memset (wv, 0, sizeof (widget_value));