1.1 --- a/ucx/string.c Fri Oct 12 10:54:55 2012 +0200 1.2 +++ b/ucx/string.c Fri Oct 12 12:08:34 2012 +0200 1.3 @@ -110,9 +110,8 @@ 1.4 1.5 /* special case: exact match - no processing needed */ 1.6 if (s.length == d.length && strncmp(s.ptr, d.ptr, s.length) == 0) { 1.7 - result = (sstr_t*) malloc(sizeof(sstr_t)); 1.8 - result[0] = sstrn("", 0); 1.9 - return result; 1.10 + *n = 0; 1.11 + return NULL; 1.12 } 1.13 sstr_t sv = sstrdup(s); 1.14