mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 13:47:58 +02:00
nm-object: initialize the object buffer to zero
(cherry picked from commit df46c59775)
This commit is contained in:
parent
a75d6b8fbb
commit
b2059059fd
1 changed files with 1 additions and 1 deletions
|
|
@ -871,7 +871,7 @@ handle_object_property (NMObject *self, const char *property_name, GVariant *val
|
|||
odata = g_slice_new (ObjectCreatedData);
|
||||
odata->self = g_object_ref (self);
|
||||
odata->pi = pi;
|
||||
odata->objects = g_new (GObject *, 1);
|
||||
odata->objects = g_new0 (GObject *, 1);
|
||||
odata->length = odata->remaining = 1;
|
||||
odata->array = FALSE;
|
||||
odata->property_name = property_name;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue