git-svn: trunk@4584
Tomasz Kojm authored on 2008/12/31 23:28:02... | ... |
@@ -911,7 +911,7 @@ struct optstruct *optparse(const char *cfgfile, int argc, char * const *argv, in |
911 | 911 |
opts->filename = (char *) calloc(lc, sizeof(char)); |
912 | 912 |
if(!opts->filename) { |
913 | 913 |
fprintf(stderr, "ERROR: optparse: calloc failed\n"); |
914 |
- optfree(opt); |
|
914 |
+ optfree(opts); |
|
915 | 915 |
return NULL; |
916 | 916 |
} |
917 | 917 |
|