Mercurial > hg > truffle
diff src/share/tools/launcher/wildcard.c @ 9062:8be1318fbe77
Merge
author | dcubed |
---|---|
date | Fri, 05 Apr 2013 10:38:08 -0700 |
parents | bad3bed4b323 |
children |
line wrap: on
line diff
--- a/src/share/tools/launcher/wildcard.c Thu Apr 04 21:15:43 2013 -0700 +++ b/src/share/tools/launcher/wildcard.c Fri Apr 05 10:38:08 2013 -0700 @@ -368,8 +368,10 @@ const char *basename; FileList fl = FileList_new(16); WildcardIterator it = WildcardIterator_for(wildcard); - if (it == NULL) + if (it == NULL) { + FileList_free(fl); return NULL; + } while ((basename = WildcardIterator_next(it)) != NULL) if (isJarFileName(basename)) FileList_add(fl, wildcardConcat(wildcard, basename));