Merge branch 'memleak' into 'master'

ast2400: Fix a memory leak in ast2400_init

See merge request !2
parents 5deef2b6 a9d8cf52
......@@ -386,6 +386,8 @@ int ast2400_init(void)
ast2400_device_halt_cpu = 1;
ast2400_device_resume_cpu = 0;
}
free(arg);
arg = extract_programmer_param("tickle");
if (arg && !strcmp(arg,"true"))
ast2400_device_tickle_fw = 1;
......
Markdown is supported
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