Skip to content
Snippets Groups Projects
Commit fb366ed3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

free data on failure

parent b352ffca
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment