diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/auth.c | 2 | ||||
-rw-r--r-- | src/html.cc | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -362,7 +362,7 @@ static void Auth_realm_add_path(AuthRealm_t *realm, const char *path) int len, i; char *realm_path, *n_path; - n_path = strdup(path); + n_path = dStrdup(path); len = strlen(n_path); /* remove trailing '/' */ diff --git a/src/html.cc b/src/html.cc index a08f9553..21085f41 100644 --- a/src/html.cc +++ b/src/html.cc @@ -2815,9 +2815,9 @@ static void Html_tag_open_meta(DilloHtml *html, const char *tag, int tagsize) if ((p = strchr(content + 1, *content))) mr_url = dStrndup(content + 1, p - content - 1); else - mr_url = strdup(content + 1); + mr_url = dStrdup(content + 1); } else { - mr_url = strdup(content); + mr_url = dStrdup(content); } if (delay == 0) { |