From: Brian Aker Date: Wed, 20 Jul 2011 07:15:00 +0000 (-0700) Subject: Fix for 809390 X-Git-Tag: 0.51^2~6^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5ffbbbe0d600b4f790dad27f894c58b572f0bf8e;p=m6w6%2Flibmemcached Fix for 809390 --- diff --git a/libmemcached/server.cc b/libmemcached/server.cc index 4187a0ab..eda7f847 100644 --- a/libmemcached/server.cc +++ b/libmemcached/server.cc @@ -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);