Commit a9d8cf52 authored by Evan Lojewski's avatar Evan Lojewski

ast2400: Fix a memory leak in ast2400_init

Signed-off-by: default avatarEvan Lojewski <github@meklort.com>
parent 63dab697
......@@ -384,6 +384,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