Compare commits

..

No commits in common. "d7da8e0a54b0f8fb312bfc6186d17bdbc1c9ed27" and "928e9c822378d86790659659af9589d75dbe05f7" have entirely different histories.

View file

@ -237,6 +237,7 @@ HttpRouterRoute(HttpRouter * router, char *path, void *args, void **ret)
{
if (regexec(&val->regex, pathPart, REG_MAX_SUB, pmatch, 0) == 0)
{
Free(pathPart);
break;
}
@ -267,6 +268,7 @@ HttpRouterRoute(HttpRouter * router, char *path, void *args, void **ret)
substr = StrSubstr(pathPart, cpmatch.rm_so, cpmatch.rm_eo);
if (pmatch[i].rm_so == -1)
{
Free(pathPart);
break;
}