diff options
Diffstat (limited to 'meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch')
-rw-r--r-- | meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch b/meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch deleted file mode 100644 index 0d3b407e2a..0000000000 --- a/meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | --- links-2.1pre17/cookies.c.pix 2005-05-15 23:05:10.000000000 +0800 | ||
2 | +++ links-2.1pre17/cookies.c 2005-05-15 23:17:21.000000000 +0800 | ||
3 | @@ -41,7 +41,7 @@ | ||
4 | |||
5 | void free_cookie(struct cookie *c) | ||
6 | { | ||
7 | - mem_free(c->name); | ||
8 | + if (c->value) mem_free(c->name); | ||
9 | if (c->value) mem_free(c->value); | ||
10 | if (c->server) mem_free(c->server); | ||
11 | if (c->path) mem_free(c->path); | ||
12 | @@ -355,7 +355,7 @@ | ||
13 | |||
14 | inv: | ||
15 | free_cookie(cookie); | ||
16 | - free(cookie); | ||
17 | + mem_free(cookie); | ||
18 | } | ||
19 | fclose(fp); | ||
20 | } | ||