Jerry James <james(a)xemacs.org> writes:
<252 lines deleted by Adrian Aichner>
Index: src/scrollbar-x.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/scrollbar-x.c,v
retrieving revision 1.31
diff -d -u -r1.31 scrollbar-x.c
--- src/scrollbar-x.c 2005/10/25 08:32:49 1.31
+++ src/scrollbar-x.c 2006/06/16 21:06:55
@@ -72,19 +72,21 @@
static void
x_free_scrollbar_instance (struct scrollbar_instance *instance)
{
- if (SCROLLBAR_X_NAME (instance))
- xfree (SCROLLBAR_X_NAME (instance), char *);
-
- if (SCROLLBAR_X_WIDGET (instance))
+ if (instance->scrollbar_data)
Jerry, doesn't instance need to be checked for NULL before
dereferencing through it above?
Adrian
<84 lines deleted by Adrian Aichner>
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/