periscop / clay

Clay, the Chunky Loop Alteration wizardrY
2 stars 5 forks source link

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

Open Lnc opened 11 years ago

Lnc commented 11 years ago

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