[PATCH 2/2] Telit plugin: add support to SIM hot swap
c.lobrano at gmail.com
Mon Jul 11 12:14:09 UTC 2016
On 11 July 2016 at 14:09, Aleksander Morgado <aleksander at aleksander.es>
> You shouldn't be passing the return of g_regex_new() directly to
> mm_port_serial_at_add_unsolicited_msg_handler(), as that method takes
> its own reference of the GRegex, and therefore the regex would be
> leaking afterwards. You should g_regex_new() and store it in a local
> variable, pass that variable to
> mm_port_serial_at_add_unsolicited_msg_handler() and then
> g_regex_unref() the variable.
Oh, sorry, I missed that point in the first review
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ModemManager-devel