mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Initialize the parent field of the newly allocate list entry. (#159330,
2004-11-24 Matthias Clasen <mclasen@redhat.com> * xdgmimeparent.c (_xdg_mime_parent_read_from_file): Initialize the parent field of the newly allocate list entry. (#159330, Alex Larsson)
This commit is contained in:
parent
ec69f80e23
commit
56552a9d57
@ -1,3 +1,9 @@
|
||||
2004-11-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* xdgmimeparent.c (_xdg_mime_parent_read_from_file):
|
||||
Initialize the parent field of the newly allocate list
|
||||
entry. (#159330, Alex Larsson)
|
||||
|
||||
Fri Nov 19 15:10:32 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* xdgmime.c: Don't put /* within a comment.
|
||||
|
@ -163,6 +163,7 @@ _xdg_mime_parent_read_from_file (XdgParentList *list,
|
||||
alloc * sizeof (XdgMimeParents));
|
||||
}
|
||||
list->parents[list->n_mimes].mime = strdup (line);
|
||||
list->parents[list->n_mimes].parent = NULL;
|
||||
entry = &(list->parents[list->n_mimes]);
|
||||
list->n_mimes++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user