1316
|
1 |
This patch was fed back to the upstream community:
|
|
2 |
http://code.google.com/p/libarchive/issues/detail?id=288
|
|
3 |
Given the response "This issue has been already fixed in master branch."
|
|
4 |
it should no longer be needed with the next release.
|
|
5 |
|
|
6 |
--- libarchive/libarchive/archive_string.c.orig Mon Mar 26 19:49:00 2012
|
|
7 |
+++ libarchive/libarchive/archive_string.c Tue Nov 27 18:10:35 2012
|
|
8 |
@@ -1120,8 +1120,8 @@
|
|
9 |
}
|
|
10 |
sc->to_charset = strdup(tc);
|
|
11 |
if (sc->to_charset == NULL) {
|
|
12 |
- free(sc);
|
|
13 |
free(sc->from_charset);
|
|
14 |
+ free(sc);
|
|
15 |
return (NULL);
|
|
16 |
}
|
|
17 |
archive_string_init(&sc->utftmp);
|