Fix for 809390
authorBrian Aker <brian@tangent.org>
Wed, 20 Jul 2011 07:15:00 +0000 (00:15 -0700)
committerBrian Aker <brian@tangent.org>
Wed, 20 Jul 2011 07:15:00 +0000 (00:15 -0700)
libmemcached/server.cc

index 4187a0ab4752451b362d2385f8471d33a7dbfe00..eda7f847a9c648375c3359b93c6d2a3ca9e2f9f9 100644 (file)
@@ -140,6 +140,7 @@ void __server_free(memcached_server_st *self)
   if (self->address_info)
   {
     freeaddrinfo(self->address_info);
+    self->address_info= NULL;
   }
 
   memcached_error_free(*self);