mirror of
https://github.com/curl/curl.git
synced 2026-04-24 21:32:12 +03:00
free data on failure
This commit is contained in:
parent
b352ffca15
commit
fb366ed35f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue