[packagekit] pk-glib2 problem

Richard Hughes hughsient at gmail.com
Wed Sep 16 11:16:05 PDT 2009


2009/9/16 Daniel Nicoletti <dantti85-pk at yahoo.com.br>:
> ok, last question :P
> {
> gchar **package_ids;
> package_ids = pk_backend_get_strv (backend, "package_ids");
> }
> do I need to free it?

Very good question. No, you don't. You could argue that the return
value from pk_backend_get_strv() should be const gchar ** and I would
probably agree with you.

Richard


More information about the PackageKit mailing list