]> ruin.nu Git - popboot.git/blobdiff - parser.y
bugfixes in the gentoo file
[popboot.git] / parser.y
index 1fec19db31f6f6704f3f1564e185c34ae6679542..a8269f54e3931b11dfdfe6abd61dcd8a557c695a 100644 (file)
--- a/parser.y
+++ b/parser.y
@@ -13,6 +13,7 @@
 
     using namespace std;
 
+    int yyparse(void);
     int yylex (void);
     void yyerror (char const *);
 
@@ -255,4 +256,7 @@ main (int argc, char** argv)
 
     Planner p(*actions, init, (*runlevels)[atoi(argv[2])]);
     p.execute();
+
+    delete actions;
+       delete runlevels;
 }