console-server.c (3f8d5bebebd401ab99e255dd648b55290bd1495a) console-server.c (982090d9ea1d2f81572e4a783e17d1a8b3f35a71)
1/**
2 * Console server process for OpenBMC
3 *
4 * Copyright © 2016 IBM Corporation
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at

--- 160 unchanged lines hidden (view full) ---

169 }
170 }
171
172 rc = 0;
173
174out_free:
175 free(tty_vuart_lpc_addr);
176 free(tty_class_device_link);
1/**
2 * Console server process for OpenBMC
3 *
4 * Copyright © 2016 IBM Corporation
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at

--- 160 unchanged lines hidden (view full) ---

169 }
170 }
171
172 rc = 0;
173
174out_free:
175 free(tty_vuart_lpc_addr);
176 free(tty_class_device_link);
177 free(tty_sysfs_devnode);
177 free(tty_device_tty_dir);
178 free(tty_device_reldir);
179 free(tty_path_input);
180 free(tty_path_input_real);
181 return rc;
182}
183
184static int tty_set_sysfs_attr(struct console *console, const char *name,

--- 839 unchanged lines hidden ---
178 free(tty_device_tty_dir);
179 free(tty_device_reldir);
180 free(tty_path_input);
181 free(tty_path_input_real);
182 return rc;
183}
184
185static int tty_set_sysfs_attr(struct console *console, const char *name,

--- 839 unchanged lines hidden ---