Aleksander Morgado
ab007a4496
base-modem: plug leaks when organizing ports
...
The GLists maintained in the logic need to be explicitly freed (just
the lists, not the list contents) if we exit early on error or if we
end up deciding that the specific ports are available but unsupported
by the plugin (e.g. if a plugin that doesn't support net ports finds
net ports in the modem).
==225333== 24 bytes in 1 blocks are definitely lost in loss record 2,024 of 5,525
==225333== at 0x483E77F: malloc (vg_replace_malloc.c:307)
==225333== by 0x506C539: g_malloc (in /usr/lib/libglib-2.0.so.0.6600.7)
==225333== by 0x508DC8F: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.6600.7)
==225333== by 0x50636B4: g_list_append (in /usr/lib/libglib-2.0.so.0.6600.7)
==225333== by 0x17E671: mm_base_modem_organize_ports (mm-base-modem.c:1298)
==225333== by 0x1E4409: mm_plugin_create_modem (mm-plugin.c:1094)
==225333== by 0x162C81: mm_device_create_modem (mm-device.c:481)
==225333== by 0x15DE60: device_support_check_ready (mm-base-manager.c:218)
==225333== by 0x4EA8173: ??? (in /usr/lib/libgio-2.0.so.0.6600.7)
==225333== by 0x4EAC6E8: ??? (in /usr/lib/libgio-2.0.so.0.6600.7)
==225333== by 0x16730F: device_context_run_ready (mm-plugin-manager.c:1533)
==225333== by 0x4EA8173: ??? (in /usr/lib/libgio-2.0.so.0.6600.7)
2021-03-18 14:27:34 +01:00
..
2021-03-10 10:59:22 +01:00
2021-02-23 11:35:11 +00:00
2019-08-29 20:07:03 +00:00
2020-06-22 09:30:09 +02:00
2019-08-29 20:07:03 +00:00
2020-11-13 08:57:06 +00:00
2021-02-23 11:35:11 +00:00
2021-03-10 10:59:22 +01:00
2020-04-08 16:35:09 +02:00
2020-01-23 11:50:23 +00:00
2021-03-17 09:19:17 +00:00
2021-03-10 10:59:22 +01:00
2020-04-08 16:35:09 +02:00
2020-09-19 20:27:10 +02:00
2021-03-16 11:39:15 -07:00
2020-09-19 20:27:10 +02:00
2020-06-28 15:07:34 +02:00
2020-06-28 15:07:34 +02:00
2021-03-18 14:27:34 +01:00
2021-03-10 12:58:12 +01:00
2021-03-12 12:41:35 +01:00
2021-03-09 16:33:45 +01:00
2021-03-04 20:45:00 +00:00
2021-03-04 20:45:00 +00:00
2021-03-10 10:59:22 +01:00
2021-03-10 10:59:22 +01:00
2021-03-17 09:39:10 +01:00
2021-03-17 09:39:10 +01:00
2021-03-11 11:38:29 +01:00
2020-09-19 20:27:10 +02:00
2020-11-14 09:41:43 +00:00
2020-09-19 20:27:10 +02:00
2021-03-17 09:39:10 +01:00
2020-12-03 08:00:30 +01:00
2021-03-14 15:23:55 +01:00
2020-11-20 09:24:51 +00:00
2021-03-10 10:59:22 +01:00
2021-02-23 11:35:11 +00:00
2019-07-11 23:21:00 +02:00
2020-09-19 20:27:10 +02:00
2021-02-23 11:35:11 +00:00
2021-02-23 11:35:11 +00:00
2021-02-14 12:27:42 +00:00
2021-02-14 12:27:42 +00:00
2021-03-10 12:58:12 +01:00
2020-11-19 17:01:55 +00:00
2020-04-08 16:35:09 +02:00
2020-04-08 16:35:09 +02:00
2021-02-06 15:32:11 +01:00
2020-11-20 09:24:51 +00:00
2020-04-08 16:35:08 +02:00
2020-09-19 20:27:10 +02:00
2020-12-21 12:05:57 +00:00
2020-12-21 12:05:57 +00:00
2020-04-08 16:35:08 +02:00
2020-09-19 20:27:10 +02:00
2020-11-16 11:28:46 +01:00
2020-11-16 11:28:46 +01:00
2020-10-10 15:43:57 +02:00
2020-09-19 20:27:10 +02:00
2020-09-19 20:53:25 +02:00
2020-09-19 20:27:10 +02:00
2020-04-08 16:35:08 +02:00
2020-09-19 20:27:10 +02:00
2020-07-04 06:37:07 +02:00
2020-09-19 20:27:10 +02:00
2021-03-10 10:59:22 +01:00
2020-09-19 20:27:10 +02:00
2020-04-08 16:35:08 +02:00
2020-09-19 20:27:10 +02:00
2020-05-27 15:51:26 +02:00
2020-09-19 20:27:10 +02:00
2021-03-10 10:59:22 +01:00
2021-03-10 10:59:22 +01:00
2020-04-08 16:35:08 +02:00
2020-04-08 16:35:08 +02:00
2020-04-08 17:53:42 +02:00
2020-10-25 21:38:01 +01:00
2020-04-09 07:35:56 +02:00
2021-03-01 15:56:14 +01:00
2021-02-15 00:43:15 +01:00
2021-03-15 17:46:49 +01:00
2021-03-15 17:46:49 +01:00
2021-03-09 16:33:45 +01:00
2021-03-09 16:33:45 +01:00
2021-03-10 10:59:22 +01:00
2021-03-10 10:59:22 +01:00
2021-03-01 15:55:22 +01:00
2020-11-13 08:57:06 +00:00
2020-11-20 09:24:51 +00:00
2020-11-13 08:57:06 +00:00
2021-03-17 09:39:10 +01:00
2021-03-17 09:39:10 +01:00
2021-03-10 10:59:22 +01:00
2021-03-10 10:59:22 +01:00
2020-04-08 16:35:09 +02:00
2020-01-31 15:18:35 +01:00
2020-11-20 09:24:51 +00:00
2020-09-19 20:27:10 +02:00
2021-03-10 15:18:00 +01:00
2021-03-10 15:18:00 +01:00
2020-11-09 18:41:57 +01:00
2020-11-04 11:15:18 +00:00
2020-04-08 16:35:08 +02:00
2020-09-19 20:27:10 +02:00
2020-11-09 18:41:57 +01:00
2020-11-09 18:41:57 +01:00
2020-04-08 16:35:08 +02:00
2020-09-19 20:27:10 +02:00
2020-05-10 09:56:10 +02:00
2020-11-20 09:24:51 +00:00
2020-08-28 14:59:06 +00:00
2020-08-28 14:59:06 +00:00
2020-12-01 20:42:55 +00:00
2020-04-08 16:35:09 +02:00
2021-03-15 17:46:49 +01:00
2020-09-28 12:00:08 +02:00
2019-11-27 10:11:43 +00:00
2020-11-09 18:41:57 +01:00
2020-09-19 20:27:10 +02:00
2021-03-12 10:42:37 +02:00
2020-10-19 20:38:43 +00:00
2020-04-08 16:35:09 +02:00
2020-04-08 16:35:09 +02:00
2020-09-19 20:27:10 +02:00
2021-03-04 20:45:00 +00:00
2020-09-19 20:27:10 +02:00
2021-02-23 11:35:11 +00:00
2020-04-08 16:35:09 +02:00
2021-02-23 11:35:11 +00:00
2020-04-08 16:35:09 +02:00
2020-09-19 20:27:10 +02:00
2021-03-04 20:45:00 +00:00
2020-09-19 20:27:10 +02:00
2021-03-01 15:55:22 +01:00
2021-03-01 15:55:22 +01:00