I'm using g_hash_table_destroy to destroy the hash table. Not sure if it is enough. Looks like you also uses dbus-glib.
Thanks Jackie >-----Original Message----- >From: [email protected] >[mailto:[email protected]] On Behalf Of Zhu, Peter J >Sent: Sunday, May 31, 2009 10:14 AM >To: Holtmann, Marcel; [email protected] >Subject: [connman] How to free memory returned by >GetProperties quickly? > >I'm writing a network backend for connman for PackageKit in >C(Not python). Everything is fine but I'm a bit confused by >how to free memory returned by GetProperties. With >GetProperties, it filles a hash table with all properties of >an object like manager or service even the caller is only >interested in State, for example. So how to free those memory >quickly without writing so much g_free code?? Is this possible? > >Thanks, >Peter >_______________________________________________ >connman mailing list >[email protected] >https://lists.moblin.org/mailman/listinfo/connman > _______________________________________________ connman mailing list [email protected] https://lists.moblin.org/mailman/listinfo/connman
