]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/main.cc
idlcomp: valgrind fixes
[polintos/scott/priv.git] / idlcomp / main.cc
index c21532ead39b7c2847f34dc9f8901e28fb4ad6a7..a02453cad2a8f9b3de8b18f4f4f89a7db7c76df2 100644 (file)
@@ -129,8 +129,8 @@ const char *cmdname, *output_dir, *cur_input_file = "<none>", *output_ns_name;
 list<const char *> inputs;
 list<NameSpaceRef> nspace_stack;
 Language *first_lang, *output_lang;
-Interface *System_Object;
-Struct *System_VStruct;
+InterfaceRef System_Object;
+StructRef System_VStruct;
 AutoReleasePool autorelease_pool;
 
 void print_usage()
@@ -787,6 +787,7 @@ int main(int argc, const char **argv)
 {
        int ret = run_idlc(argc, argv);
        autorelease_pool.clean();
+
        return ret;
 }