diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-17 23:17:00 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-17 23:17:00 +0200 |
commit | add402b9774dd3a8d0a097e4d40a650e360022e4 (patch) | |
tree | 9d7e8e3741602ccca035fcdb19bcef5f19210f23 | |
parent | 301d6d61c841a7456f0b5f0fd1f6142b0ed933df (diff) | |
parent | 8c8276f419212295e18615933f0db83322936700 (diff) |
merge
-rw-r--r-- | dpi/bookmarks.c | 3 | ||||
-rw-r--r-- | src/cookies.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c index 58fc59f5..6e9cb3df 100644 --- a/dpi/bookmarks.c +++ b/dpi/bookmarks.c @@ -1628,16 +1628,19 @@ static int Bmsrv_parse_token(Dsh *sh, char *Buf) if (strcmp(url, "dpi:/bm/modify") == 0) { st = Bmsrv_send_modify_answer(sh, url); + dFree(url); return st; } else if (strncmp(url, "dpi:/bm/modify?", 15) == 0) { /* process request */ st = Bmsrv_process_modify_request(sh, url); + dFree(url); return st; } d_cmd = a_Dpip_build_cmd("cmd=%s url=%s", "start_send_page", url); + dFree(url); st = a_Dpip_dsh_write_str(sh, 1, d_cmd); dFree(d_cmd); if (st != 0) diff --git a/src/cookies.h b/src/cookies.h index 482aa5ae..d6ee1ccd 100644 --- a/src/cookies.h +++ b/src/cookies.h @@ -8,6 +8,7 @@ extern "C" { #ifdef DISABLE_COOKIES # define a_Cookies_get_query(url) dStrdup("") +# define a_Cookies_set() ; # define a_Cookies_init() ; # define a_Cookies_freeall() ; #else |