mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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;
|
||||
default:
|
||||
printf("internal error: invalid pattern type (%d)\n", pat.type);
|
||||
free(target);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user