summaryrefslogtreecommitdiff
path: root/src/TextToStr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextToStr.c')
-rw-r--r--src/TextToStr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/TextToStr.c b/src/TextToStr.c
index 2ac934c2..2c0b1f6d 100644
--- a/src/TextToStr.c
+++ b/src/TextToStr.c
@@ -25,6 +25,8 @@ in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/X11/TextToStr.c,v 1.5 2001/12/14 19:54:07 dawes Exp $ */
+
#include <X11/Xlibint.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
@@ -110,6 +112,7 @@ void XFreeStringList (list)
if (list) {
if (list[0]) Xfree (list[0]);
Xfree ((char *) list);
+ list = NULL;
}
}