1
0
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:
Daniel Stenberg 2003-08-14 13:37:55 +00:00
parent b352ffca15
commit fb366ed35f

View File

@ -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;
}
}