Skip to contentSkip to conversation

Get rid of a bogus assignment in defaults_free_searchdns

PATCH New Jeff Moyer 1 participant 1 message Sep 4, 2009

Subsystems (2)
lore
Share & tools
lore

Jeff Moyer

author
#0 lore raw

PATCH 1/1 Get rid of a bogus assignment in defaults_free_searchdns

tssia.

Cheers,
Jeff

lib/defaults.c +0 -1
index 17164bd..0aafa8b 100644
@@ -532,7 +532,6 @@ void defaults_free_searchdns(struct ldap_searchdn *sdn)
 	struct ldap_searchdn *this = sdn;
 	struct ldap_searchdn *next;
 
-	next = this;
 	while (this) {
 		next = this->next;
 		free(this->basedn);