summaryrefslogtreecommitdiff
path: root/src/testpattern/testpatternl.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/testpattern/testpatternl.l')
-rw-r--r--src/testpattern/testpatternl.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testpattern/testpatternl.l b/src/testpattern/testpatternl.l
index 96eb976..3d430fb 100644
--- a/src/testpattern/testpatternl.l
+++ b/src/testpattern/testpatternl.l
@@ -1,5 +1,5 @@
/*
- * "$Id: testpatternl.l,v 1.16 2004/04/14 02:21:21 rlk Exp $"
+ * "$Id: testpatternl.l,v 1.17 2005/07/28 00:58:45 rlk Exp $"
*
* Test pattern generator for Gimp-Print
*
@@ -48,7 +48,7 @@ c_strstrip(char *s)
return sn;
}
else
- return (char *) s;
+ return strdup(s);
}
#define DBG(x) \