<div dir="ltr">Hi ModemManager developers.<div><br></div><div>I need your help to resolve a memory leak problem. I make some tests with a little and simple software:</div><div><br></div><div>int main(int argc, char* argv[])<br>{<br><br>    MMManager *manager;<br>    GError *error = NULL;<br>    GDBusConnection *connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);<br><br>    while(1){<br><br>        manager = mm_manager_new_sync(connection,<br>                                      G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START,<br>                                      NULL, &error);<br>        g_object_unref(manager);</div><div>        sleep(1);<br>    }</div><div>}</div><div><br></div><div>After each loop the memory usage is increased by 4 kB, the object manager doest not seem to be free.</div><div><br></div><div>This problem with g_object_unref() appears only with objects with MMManager type.</div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Thanks.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Maumont Adrien.</pre></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"></div></div></div></div>