diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-04 09:45:29 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-04 09:51:14 +0100 |
commit | f21fde38559141e382ad64f8ce048d73c7e197a4 (patch) | |
tree | 5de5dc1d2965eb0ea826e26489b4abc185f228e5 /src/main.c | |
parent | 2d28969df74c687cfc4ea03dee6317874525e313 (diff) |
cinterion: fix port reference leaks
The mm_base_modem_get_port_*() returns a full reference, we should use
the mm_base_modem_peek_port_*() methods instead. Also, refactor a bit
the logic because both ports are really configured in the same way, so
just apply the same setup to both.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions