free data on failure
This commit is contained in:
parent
b352ffca15
commit
fb366ed35f
@ -472,6 +472,7 @@ char *glob_match_url(char *filename, URLGlob *glob)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("internal error: invalid pattern type (%d)\n", pat.type);
|
printf("internal error: invalid pattern type (%d)\n", pat.type);
|
||||||
|
free(target);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user