changeset 1596:c4502225d4de

free dpip_tag
author corvid <corvid@lavabit.com>
date Mon, 01 Mar 2010 02:58:53 +0000
parents 34251a0d774e
children ed63f7b3a242
files dpi/file.c dpi/vsource.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/file.c	Mon Mar 01 02:46:04 2010 +0000
+++ b/dpi/file.c	Mon Mar 01 02:58:53 2010 +0000
@@ -955,6 +955,7 @@
             dFree(path);
             dFree(url);
             dFree(cmd);
+            dFree(dpip_tag);
             break;
          }
          dFree(dpip_tag);
--- a/dpi/vsource.c	Mon Mar 01 02:46:04 2010 +0000
+++ b/dpi/vsource.c	Mon Mar 01 02:58:53 2010 +0000
@@ -191,6 +191,7 @@
    d_cmd = a_Dpip_build_cmd("cmd=%s url=%s", "start_send_page", url);
    a_Dpip_dsh_write_str(sh, 0, d_cmd);
    dFree(d_cmd);
+   dFree(dpip_tag);
 
    dpip_tag = a_Dpip_dsh_read_token(sh, 1);
    cmd2 = a_Dpip_get_attr(dpip_tag, "cmd");