diff --git a/src/http/response.c b/src/http/response.c index db53354..9a14315 100644 --- a/src/http/response.c +++ b/src/http/response.c @@ -45,7 +45,7 @@ httpResponseCtor(void * _this, va_list * params) this->status = va_arg(* params, unsigned int); reason = va_arg(* params, char *); - this->reason = calloc(1, strlen(reason)+1); + this->reason = memCalloc(1, strlen(reason)+1); strcpy(this->reason, reason); return 0; @@ -57,7 +57,7 @@ httpResponseDtor(void * _this) { HttpResponse this = _this; - FREE(this->reason); + MEM_FREE(this->reason); PARENTCALL(_this, Class, dtor); }