plugin: define an autofree value to NULL

This satisfies -Werror=maybe-uninitialized.
This commit is contained in:
Adrien Plazas
2020-07-03 08:26:57 +02:00
parent fff47478cc
commit 6df9cc0844

View File

@@ -1089,7 +1089,7 @@ static gchar *
log_object_build_id (MMLogObject *_self)
{
MMPlugin *self;
g_autofree gchar *plugin_name_lowercase;
g_autofree gchar *plugin_name_lowercase = NULL;
self = MM_PLUGIN (_self);
plugin_name_lowercase = g_ascii_strdown (self->priv->name, -1);