Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : proto

Dir     : e17/proto/edje_cc


Modified Files:
        main.c 


Log Message:
free file too

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/edje_cc/main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- main.c      7 Sep 2004 23:54:32 -0000       1.2
+++ main.c      7 Sep 2004 23:57:58 -0000       1.3
@@ -31,8 +31,9 @@
                return 1;
        }
        file = (char *)strdup(argv[optind]);
-
        yyin = fopen(file, "r");
+       free(file);
+
        yyparse();
        fclose(yyin);
 




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to