]> code.citadel.org Git - citadel.git/blobdiff - citadel/locate_host.c
* Removed the built-in memory leak checker. It wasn't threadsafe and
[citadel.git] / citadel / locate_host.c
index 09aef65451542cf7f90d5a860f164b191fef74e7..3bcecf5a5874000cb2787cb8ef394698e7ae32f5 100644 (file)
@@ -60,9 +60,9 @@ bad_dns:
                                   section */
        }
        /* check if the forward DNS agrees; if not, they're spoofing */
-       j = strdoop(ch->h_name);
+       j = strdup(ch->h_name);
        ch = gethostbyname(j);
-       phree(j);
+       free(j);
        if (ch == NULL)
                goto bad_dns;