Skip to content
Snippets Groups Projects
Commit 9271dae5 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

PhoshWWanMMPrivate: Initialize modem variable

otherwise the unitialized variable might be cleaned up on the error
path.
parent 79419e8a
No related branches found
No related tags found
1 merge request!86Fix various potential crashers and make avoiding them simpler
......@@ -359,7 +359,7 @@ phosh_wwan_mm_constructed (GObject *object)
PhoshWWanMMPrivate *priv = phosh_wwan_mm_get_instance_private (self);
const gchar *modem_object_path;
GError *err = NULL;
g_autoptr(GList) modems;
g_autoptr(GList) modems = NULL;
G_OBJECT_CLASS (phosh_wwan_mm_parent_class)->constructed (object);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment