projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a769527
)
free-ing memory to avoid memory leakage in test program
author
Marc Cromme
<marc@indexdata.dk>
Fri, 11 May 2007 22:59:36 +0000
(22:59 +0000)
committer
Marc Cromme
<marc@indexdata.dk>
Fri, 11 May 2007 22:59:36 +0000
(22:59 +0000)
src/test_icu_I18N.c
patch
|
blob
|
history
diff --git
a/src/test_icu_I18N.c
b/src/test_icu_I18N.c
index
13ed02e
..
9e87f38
100644
(file)
--- a/
src/test_icu_I18N.c
+++ b/
src/test_icu_I18N.c
@@
-1,4
+1,4
@@
-/* $Id: test_icu_I18N.c,v 1.17 2007-05-11 22:23:33 marc Exp $
+/* $Id: test_icu_I18N.c,v 1.18 2007-05-11 22:59:36 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
@@
-267,14
+267,17
@@
int test_icu_sortmap(const char * locale, int src_list_len,
printf("\n");
}
-
+
+
+ for( i = 0; i < src_list_len; i++)
+ free(list[i]);
+
+
ucol_close(coll);
icu_buf_utf8_destroy(buf8);
icu_buf_utf16_destroy(buf16);
-
-
return success;
}