changeset 1728:ea58555667ac

merge
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 17 Sep 2010 23:17:00 +0200
parents beea6d3a79a7 (current diff) 23fa79dc9664 (diff)
children 44b04d308585
files
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/bookmarks.c	Fri Sep 17 23:16:43 2010 +0200
+++ b/dpi/bookmarks.c	Fri Sep 17 23:17:00 2010 +0200
@@ -1628,16 +1628,19 @@
 
       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)
--- a/src/cookies.h	Fri Sep 17 23:16:43 2010 +0200
+++ b/src/cookies.h	Fri Sep 17 23:17:00 2010 +0200
@@ -8,6 +8,7 @@
 
 #ifdef DISABLE_COOKIES
 # define a_Cookies_get_query(url)  dStrdup("")
+# define a_Cookies_set()     ;
 # define a_Cookies_init()    ;
 # define a_Cookies_freeall() ;
 #else