Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy string (not pointer only) from clay options (options->input_name) in clan options (clan_opt->name) #1

Open
Lnc opened this issue Oct 7, 2013 · 0 comments

Comments

@Lnc
Copy link
Collaborator

Lnc commented Oct 7, 2013

Fix this code: (the free in clan_options_free is not a bug)

File clay.c Line 100


clan_opt->name = options->input_name;
clan_opt->extbody = 1;
scop = clan_scop_extract(options->input, clan_opt);
//clan_options_free(clan_opt); // bug, the name is also freed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant