diff --git a/srcs/open_dhcp/query.cpp b/srcs/open_dhcp/query.cpp index c26b251..043572c 100644 --- a/srcs/open_dhcp/query.cpp +++ b/srcs/open_dhcp/query.cpp @@ -119,6 +119,7 @@ static void sendUserList(data19 *req, const char *pRequest) { cJSON_Delete(pRoot); //cJSON_Delete(pRspMsg); + free((void *)pStrPro); req->bytes = (int)(fp - req->dp); }