X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcachedprotocol%2Fhandler.c;h=afd708652c245e9decb61be8ce9ba757c8b41703;hb=2eb14a59f3626073017de925929dcc7e3e9eb43d;hp=59b461f6aa083b286c8e6e619ab8382e352437f5;hpb=357b107e59d9918a0f3bdd7e4aad9493c70e03f1;p=awesomized%2Flibmemcached diff --git a/libmemcachedprotocol/handler.c b/libmemcachedprotocol/handler.c index 59b461f6..afd70865 100644 --- a/libmemcachedprotocol/handler.c +++ b/libmemcachedprotocol/handler.c @@ -46,6 +46,9 @@ #include #include +#include +#include + /* ** ********************************************************************** ** INTERNAL INTERFACE @@ -318,6 +321,7 @@ struct memcached_protocol_st *memcached_protocol_create_instance(void) { free(ret->input_buffer); free(ret); + ret= NULL; } }