Commits

portix committed 6229de5

Use g_strdup in mktlds-header.c

Comments (0)

Files changed (1)

src/util/mktlds-header.c

     char *host_dup;
 
     enc_str[0] = '\0';
-    host_dup = strdup(host);
+    host_dup = g_strdup(host);
     ptr = host_dup;
     for (;;) {
         if ((next_lbl = strchr(ptr, '.')))