On Wed, Jan 18, 2017 at 12:16:56PM -0200, Eduardo Lima (Etrunko) wrote: > Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> > --- > src/ovirt-foreign-menu.c | 11 +++++++++-- > src/ovirt-foreign-menu.h | 2 ++ > 2 files changed, 11 insertions(+), 2 deletions(-) > > diff --git a/src/ovirt-foreign-menu.c b/src/ovirt-foreign-menu.c > index 50a8ea6..e2216a2 100644 > --- a/src/ovirt-foreign-menu.c > +++ b/src/ovirt-foreign-menu.c > @@ -85,10 +85,10 @@ enum { > }; > > > -static char * > +gchar * > ovirt_foreign_menu_get_current_iso_name(OvirtForeignMenu *foreign_menu) > { > - char *name; > + gchar *name; > > if (foreign_menu->priv->cdrom == NULL) { > return NULL; Note that before we were returning a char * and using g_free on the string. The rest of the codebase seems to be using gchar * consistently as a return value though. Might be better to have that as a separate commit? On the one hand, it's so small that it's overkill, on the other hand, the hunk is odd when squashed with a different commit. Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list