Commit c36a266b authored by Lenard Nagy's avatar Lenard Nagy
Browse files

Added cleanup of vairables at unmap


Signed-off-by: Lenard Nagy's avatarLenard Nagy <lenard.nagy@ericsson.com>
parent fe2c0f18
...@@ -180,6 +180,8 @@ namespace SerialPortTypes { ...@@ -180,6 +180,8 @@ namespace SerialPortTypes {
{ {
Handler_Remove_Fd_Read(device_fd); Handler_Remove_Fd_Read(device_fd);
close(device_fd); close(device_fd);
free(param_device_file);
ret_buffer.clean_up();
} }
void SerialPort::user_start() void SerialPort::user_start()
......
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