X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fhashkit.h;h=451333075f225c83641647dcd93065db946935f1;hb=2230ba7b89bbaa989de311f9d7ea6d6e2cd5a9b8;hp=bab3bc08d1f2ba7e8d7df4c8d3c06cf3748175fb;hpb=8fa220229fdb895f6f07311124e9c71943fdbad4;p=m6w6%2Flibmemcached diff --git a/libhashkit/hashkit.h b/libhashkit/hashkit.h index bab3bc08..45133307 100644 --- a/libhashkit/hashkit.h +++ b/libhashkit/hashkit.h @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -81,7 +82,7 @@ public: } Hashkit& operator=(const Hashkit& source) - { + { hashkit_free(this); hashkit_clone(this, &source);