]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
res_freeupdrec will free r_dname, so we shouldn't.
authorTed Lemon <source@isc.org>
Wed, 26 Jan 2000 17:22:58 +0000 (17:22 +0000)
committerTed Lemon <source@isc.org>
Wed, 26 Jan 2000 17:22:58 +0000 (17:22 +0000)
common/tree.c

index 6945c079497b2423f665593fb1c313e3c6349544..97b6f9d405f9c44324b9b3ae15211f2f99737395 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: tree.c,v 1.69 2000/01/26 14:55:35 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: tree.c,v 1.70 2000/01/26 17:22:58 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1806,10 +1806,6 @@ int evaluate_numeric_expression (result, packet, lease,
                                dfree (tmp -> r_data, MDL);
                                tmp -> r_data = (char *)0;
                        }
-                       if (tmp -> r_dname) {
-                               dfree (tmp -> r_dname, MDL);
-                               tmp -> r_dname = (char *)0;
-                       }
                        res_freeupdrec (tmp);
                }
                return status;