diff options
author | jcid <devnull@localhost> | 2008-03-24 22:51:06 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-03-24 22:51:06 +0100 |
commit | 74d3c301d4ad9333a7d28e2a20ac732cd13ac462 (patch) | |
tree | 8a01b9c49a646b16eca17ea5c3717de9e30a92d8 /dpi | |
parent | 8fefe9ce9b44a93e6c3751ba25e38d7891d374ac (diff) |
- Added a couple Dstr_append_l calls (necessary for binary strings).
Diffstat (limited to 'dpi')
-rw-r--r-- | dpi/cookies.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dpi/cookies.c b/dpi/cookies.c index fd91e0cc..d816f516 100644 --- a/dpi/cookies.c +++ b/dpi/cookies.c @@ -337,7 +337,6 @@ static void Cookies_init() filename = dStrconcat(dGethomedir(), "/.dillo/cookies", NULL); if ((old_cookies_file_stream = fopen(filename, "r")) != NULL) { - dFree(filename); MSG("WARNING: Reading old cookies file ~/.dillo/cookies too\n"); /* Get all lines in the file */ @@ -407,11 +406,9 @@ static void Cookies_init() Cookies_add_cookie(cookie); } } - fclose(old_cookies_file_stream); - } else { - dFree(filename); + fclose(old_cookies_file_stream); } - + dFree(filename); } /* |