Commit b510dff0 authored by Vikram Narayanan's avatar Vikram Narayanan
Browse files

tools/idl: close files after writing



The generated files are being written to a file, but not closed.

Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
parent 63751e1d
......@@ -110,6 +110,7 @@ int main(int argc, char ** argv)
}
CCSTFile* ccst_tree = generate_server_source(m);
ccst_tree->write(of, 0);
fclose(of);
}
printf("Completed Server source writing\n");
......@@ -162,9 +163,9 @@ int main(int argc, char ** argv)
}
CCSTFile* ccst_tree = generate_client_source(m);
ccst_tree->write(of, 0);
fclose(of);
}
printf("completed client source writing\n");
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment